IE 8 及更早版本未加载 CSS


IE 8 and older not loading CSS

我用HTML 5开发了网站。它的CSS没有在IE旧浏览器IE 6,7和8中加载。

我的网站的第二个问题是它的字体不是在Firefox HTTP协议中加载,而是通过HTTPS加载。

我的访问是

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} (book_it.php|book-it.php|gccs.css)$
RewriteRule .? https: //%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !(book_it.php|book-it.php|gccs.css)$
RewriteRule .? http: //%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
<FilesMatch "'.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
BrowserMatch MSIE best-standards-support
Header set X-UA-Compatible IE=8 env=best-standards-support
</IfModule>
</FilesMatch>`

您还可以查看 CSS。

<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<![endif]-->

使用仅限IE8的样式表 - 这将允许您更改元素或告诉用户他们的浏览器不支持html5