开发者

Internet Explorer's Compatibility View breaks my site design

My website design is looking fine in Mozilla. But wh开发者_StackOverflow中文版en I try to run in IE, the design is not looking fine. When the compatibility view from Tools option in menu of IE is unchecked, the design is looking fine. But by default the compatability view is checked.

Can by default can we uncheck the compatability view or is their any other problem?


Even if you are viewing the website by yourself without using the Compatibility view in IE8, other users are still going to be viewing the website in IE6/7 and other browsers.

It would be best to fix the problems that are causing the design faults so that you are not working around the problem.

If you post your html markup/css that seems to be the issue, I am sure there are many people here who can help.


Yes. The relevant document describing "Compatibility View" is the Internet Explorer 8 Readiness Toolkit


The meta tag solution would be a good temp fix until the real cause could be sorted out. However the meta tag doesn't really allow you to control which mode the browser operates in. It seems to simply remove the click-able icon from the browser.


According to Force IE8 Into IE7 Compatiblity Mode , you can add the following tag to make IE8 render as IE7:

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

But I think that is is better that you cleanup your HTML so it works correctly in both IE7 and IE8.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜