嗨我有两个svg用于在我的标题中创建像图像的横幅。一个坐在左边,另一个坐在右边。在IE中,他们只是坐在中间,我该如何解决这个问题?
#header-left {
background-position: 10% -7%;
min-height: 250px;
background-size: inherit;
background-repeat: no-repeat;
background-image: url(/wp-content/uploads/2017/05/banner-left-side-02-02.svg);
max-height: 250px;
}
#header-right {
background-color: rgba(169, 48, 37, 0);
background-image: url(/wp-content/uploads/2017/05/banner-right-side-01.svg);
background-position: 100% 100%;
background-repeat: no-repeat;
min-height: 250px;
}
如果您希望看到问题......,http://dronework.com.au/
答案 0 :(得分:0)
这接近你想要的吗?
<div id="header-left"></div>
<div id="header-right"></div>
<?php
set_time_limit(120);
ini_set("max_execution_time",120);
date_default_timezone_set("Asia/Jakarta");
require_once("menu.php");
class serviceController extends menu
{
private $clientInput;
public function __construct($clientInput){
$this->clientInput = $clientInput;
$this->Controller();
}
private function getMenu($packageName){
parent::__construct($packageName);
echo json_encode(parent::menu());
}
private function Controller(){
$Decode = json_decode($this->clientInput);
if($Decode->id=="getMenu"){
$this->getMenu($Decode->packageName);
}else if($Decode->id=="Development"){
sleep(15);
echo '{"status":"1","info":"Success"}';
}else{
switch($Decode->packageName){
case "com.guava.manis.mobile.payment":{
$this->doRequest("http://xxx.xxx.xxx.xxx/multiflat_new.jsp");
break;
}
}
}
}
private function doRequest($target){
$ch = curl_init($target);
$input = str_replace(':"",',':"-",',str_replace(':false,',':"-",',str_replace(':0,',':"-",',$this->clientInput)));
curl_setopt($ch,CURLOPT_POST,1);
curl_setopt($ch,CURLOPT_POSTFIELDS,$input);
curl_setopt($ch,CURLOPT_HTTPHEADER,array('Content-Type:application/json'));
$response = curl_exec($ch);
$finalResponse = rtrim("1",$response);
echo $finalResponse;
}
}
$clientInput = file_get_contents("php://input");
new serviceController($clientInput);