开发者

IE 8 automatically renders site in IE 7 mode?

my site was automatically being injected with in the header when I browse using IE 8. I set my IIS with a custom header to force it to IE=8, didn't wo开发者_开发技巧rk. I set the meta tag in the header, it shows up in the source, but was being shown before it. didn't work. What else can i do?


Just a guess, but might work.

Try to add this=>

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

This meta tag must be first child of head element.
It will force ie8 in compability mode to work normally as ie8.


I did tried that, didn't work.

my title

For some reason, IE8 automatically puts in the IE=7 meta tag in all my pages. is it possible that my CSS is not compatible with IE 8 so it renders in IE7 mode?


Thanks. i end up had to put <meta http-equiv="X-UA-Compatible" content="IE=8" /> before the <header> tag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜