Search code examples
google-chromestylesheet

Chrome loading IE only stylesheet


A stylesheet being loaded inside an IE conditional tag is being loaded in Google Chrome version 11.0.696.65. The IE only rules are throwing off our layout in Chrome.

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

I've checked the code character for character and it looks fine to me. Is anyone else experiencing this? Is this a Chrome bug or some misguided feature?

Edit: Chrome is fine. We have a custom theme switcher which was erroneously loading a different copy of the site.ie.css from a theme's folder.


Solution

  • Chrome is fine. We have a custom theme switcher built which was erroneously loading a different copy of the site.ie.css from a theme's folder.