Conditional style sheet?

Jun 7, 2010 at 11:10 AM

I could swear that I had this working in some earlier builds but my current (as of yesterday) will not exclude my conditional stylesheet in any browser.

<!--[if lt IE 8]><link href="blueprint/ie.css" rel="stylesheet" type="text/css" media="screen, projection" /><![endif]-->

Any thoughts?

Jun 12, 2010 at 2:13 PM

Further testing shows that other conditional statements are handled correctly, just not a stylesheet.

 

<!--[if lt IE 8]>
<link href="../../Content/blueprint/ie.css" _mce_href="../../Content/blueprint/ie.css" rel="stylesheet" type="text/css" /> 
<![endif]-->

 This gets used no matter what browser:

<!--[if lt IE 8]>
<link href="../../Content/blueprint/ie.css" rel="stylesheet" type="text/css" /> 
<![endif]-->
This works as expected:
<!--[if lt IE 8]>
<SCRIPT LANGUAGE="Javascript">
alert("Alert");
</SCRIPT>
<![endif]-->