【发布时间】:2014-05-16 16:01:50
【问题描述】:
我用 HTML 5 开发了网站。它的 CSS 无法在 IE 旧浏览器 IE 6、7 和 8 中加载。
我的网站的第二个问题是它的字体不是在 Firefox HTTP 协议中加载,而是通过 HTTPS 加载。
我的 htaccess 是
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。
【问题讨论】:
标签: php css .htaccess internet-explorer firefox