-1

我已經創建了一個模板。我用bootstrap。我的模板不工作col-md寬度,:之前,:在IE8瀏覽器中的&背景圖像之後。某些Css不能在IE8瀏覽器中工作

我在標題部分波紋管用於:

<!DOCTYPE html> 
    <!--[if IE 8]>  <html class="ie8 " lang="en"><![endif]--> 
<!--[if IE 9]>  <html class="ie9 " lang="en"><![endif]--> 
<!--[if gt IE 9]><!--><html class="" lang="en"><!--<![endif]--> 
<head> 
    <meta charset="utf-8"> 
    <meta http-equiv="x-ua-compatible" content="ie=edge"> 
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> 
    <title>Duranto Html Portfolio Template</title> 
    <meta name="description" content=""> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <link rel="apple-touch-icon" href="apple-touch-icon.png"> 
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> 
    <link rel="stylesheet" href="css/bootstrap.min.css"> 
    <link rel="stylesheet" href="css/normalize.css"> 
    <link rel="stylesheet" href="style.css"> 
    <script src="js/vendor/modernizr-2.8.3.min.js"></script> 
    <!--[if lt IE 9]> 
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> 
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> 
<![endif]--> 
</head> 

回答

0

引導在許多方面不能與IE8兼容,但主要是出於以下兩個原因:如

  1. 僞類:前,:之後,>等在IE8中得不到支持。

  2. 不保證多個類的順序。引導大量採用了以下內容:

    <div class="col-md xs col12 etc etc etc">... 
    
+0

有問題的IE8與假點:前和:後不過,從_poor_支持遠遠。支持'>'(自IE7以來)。自IE7以來,支持組合多個類選擇器。 Bootstrap [支持包含以下信息的IE8](http://getbootstrap.com/getting-started/#support-ie8-ie9)。 – FelipeAls

+0

感謝您編輯我的答案@FelipeAls。不勝感激! – Schien

相關問題