Using IE conditional comments inside a stylesheet
Conditional comments do not work within stylesheets. Instead, you can use conditional comments in your HTML to apply different CSS classes or IDs to elements that you can then target with CSS. For instance: <!–[if IE]> <div id=”wrapper” class=”ie”> <![endif]–> <!–[if !IE]> <div id=”wrapper”> <![endif]–> Also, there are tools such as Modernizr that do feature … Read more