tirithen
tirithen

Reputation: 3527

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="ie7-and-down.css" />
<![endif]-->

Upvotes: 1

Views: 494

Answers (1)

Ravikiran
Ravikiran

Reputation: 1458

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.

Upvotes: 1

Related Questions