1

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]-->
tirithen
  • 3,219
  • 11
  • 41
  • 65

1 Answers1

1

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.

Ravikiran
  • 1,440
  • 11
  • 15