I’m having a bit of a problem with the conditional comment for IE.
<link rel = "stylesheet"
type = "text/css"
href = "css/stil.css" />
<!--[if IE]>
<link rel = "stylesheet"
type = "text/css"
href = "css/ie.css" />
<![endif]-->
It’s not working in IE9, IE9 loads the normal stylesheet (css/stil.css) and not the one i specify in the conditional comment. Please help 🙂
From that sentence, it sounds like you’re not expecting IE to download and apply the
css/stil.cssstylesheet. It should and will. It’s just that it should also download and apply thecss/ie.cssstylesheet. Could it be that you’re seeing styles fromcss/stil.cssthat you aren’t expecting? On the face of it, the conditional comments work fine (I had to usestylerather thanlinkelements in that example, but the concept is the same).