我在ie7中遇到了一個問題,我的樣式表根本沒有加載,我檢查過它的編碼爲utf-8,沒有BOM,頁面上的charset被設置爲UTF-8。這裏的頭:在ie7或更早版本上不加載CSS
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="public/themes/dark/less/style.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
而這裏的網站,如果它的任何幫助:http://www.mattjonesmusic.com/
我覺得雖然我沒有虛擬機的設置,以測試它這個錯誤可能發生在IE6爲好。
是未加載樣式表還是僅應用規則?你有沒有看到HTTP嗅探器的一些錯誤? – fcalderan
看着它,它似乎加載樣式表,但只能下載到.progress節。所有這一節都來自twitter的引導樣式。 – user7009
你有沒有達到CSS限制? http://stackoverflow.com/questions/9906794/internet-explorers-css-rules-limits – cimmanon