简体   繁体   English

IE8有时不加载CSS

[英]IE8 not loading CSS on occasion

This is killing me guys 这杀了我

http://publish.uwo.ca/~mchum/index.htm http://publish.uwo.ca/~mchum/index.htm

Displays fine in FF, IE9. 在FF,IE9中正常显示。 Some minor layout issues in Chrome, and mobile Safari Chrome和移动Safari中的一些小布局问题

Whenever I try to load from the server in IE7, IE8, it's a crapshoot. 每当我尝试从IE7,IE8中的服务器加载时,这都是胡扯。 It's usually more reliable on first-load, but if you press F5 (or even ctrl-F5), it won't load completely. 通常在首次加载时更可靠,但如果按F5(甚至ctrl-F5),它将无法完全加载。

Sometimes it will load some of the background, and sometimes it won't load the CSS or the javascript at all. 有时它将加载某些背景,有时甚至根本不加载CSS或javascript。

The strange thing is it only works after I've uploaded it to the server; 奇怪的是,只有将其上传到服务器后,它才能正常工作。 it doesn't occur locally. 它不在本地发生。

I'm quite the rookie here, and still learning quite a bit. 我是这里的新秀,仍然学习了很多东西。 I'm almost feeling I've bitten off way more can I chew. 我几乎感觉到自己被咬了,我还能嚼得多。 Some (merciful) assistance please! 请提供一些帮助。

It looks like your web server has GZIP compression enabled. 您的网络服务器似乎已启用GZIP压缩。 The post below talks about the headers you need to send so that IE handles your CSS and JS files consistently. 下面的帖子讨论了您需要发送的标头,以便IE能够一致地处理CSS和JS文件。 I have ran into this with IE6 but it appears it may still be an issue with at least IE7. 我已经在IE6中遇到了这个问题,但似乎至少对于IE7还是有问题。

I am not positive this is the issue but it is worth looking into. 我不是很肯定这是问题,但值得研究。

Why is gzip compression with Internet Explorer not working? 为什么Internet Explorer的gzip压缩不起作用?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM