Visual Studio design view applying unwanted conditional comment CSS content
Posted on 2010-08-31
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.