简体   繁体   English

Internet Explorer 11仅在Ctrl + F5之后应用CSS

[英]Internet Explorer 11 only applying CSS after Ctrl+F5

In Chrome and Firefox my site loads perfectly, however in Internet Explorer 11 the CSS is only applying fully after pressing Ctrl+F5 (sometimes several times). 在Chrome和Firefox中,我的网站可以完美加载,但是在Internet Explorer 11中,仅在按Ctrl + F5(有时是几次)后,CSS才能完全应用。 Strange thing is that some CSS IS applied. 奇怪的是,有些CSS被应用了。 Just some elements are ignored. 只有一些元素被忽略。 Since my CSS is pretty large I don't want to paste it all here but the behavior can be seen live here http://www.telefonievergelijken.nl 由于我的CSS非常大,因此我不想将其全部粘贴到此处,但是可以在此处实时查看行为。http://www.telefonievergelijken.nl

Here's how it looks in Internet Explorer 11 on 1st pageload: 这是第1页页面加载在Internet Explorer 11中的外观:

IE浏览器

And here in FireFox: 在FireFox中:

火狐

On your webpage: 在您的网页上:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

I believe it is a problem. 我相信这是一个问题。 It tells browser to display page in IE8 compatibility view, so most things is displayed wrongly . 它告诉浏览器在IE8兼容性视图中显示页面,因此大多数内容显示错误

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

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