Link to home
Start Free TrialLog in
Avatar of Jeff_Carlson
Jeff_CarlsonFlag for United States of America

asked on

Visual Studio design view applying unwanted conditional comment CSS content

I have a conditional comment block in my master page that includes a CSS <link> intended to apply fixes to IE6 and lower.

<!--[if lt IE 7]> <link href="/css/iefix.css" rel="stylesheet" type="text/css" media="all" /> <![endif]-->

However, those CSS classes are applied in design view even though my browser is IE8.  This really messes up the design view.  Anyone know how to keep the Visual Studio designer from applying unwanted CSS within conditional comments?

(Visual Studio 2008 Professional Edition)

Thank you for your help.
ASKER CERTIFIED SOLUTION
Avatar of existenz2
existenz2
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial