开发者

Does this conditional css loading for IE7 and lower work for IE8 in compability mode?

Does this conditional css loading for IE7 and lower work for IE8 in compability mode?

<!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="ie开发者_StackOverflow7-and-down.css" />
<![endif]-->


http://blogs.msdn.com/b/ie/archive/2008/08/27/introducing-compatibility-view.aspx -> This clearly says compatibility view is to force IE8 render a page like IE-7.

If you have installed IE developer toolbar ( Install and use IE developer toolbar ), you can check if the CSS is used while rendering OR run the script @ Detect Browser in compatibility mode to check which browser you're hitting.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜