So I was working on a website that dealt with a lot of CSS. As we know CSS is not well implemented on Internet Explorer. So I had to make a new style-sheet that was specifically for IE, to be precise IE7. So I was using this
<!–[if IE 7]>
<link href=”xxxie7.css” rel=”stylesheet” type=”text/css” />
<![endif]–>
I tried it on IE 7 multiple times, using various programs and it would never be picked up.
However when I deleted the comment code and erased my regular CSS
it would show up. I though there was something wrong in my coding, checked for errors and none.
So after a few days of desperation, and looking up online. I found
somewhere I forgot the source its been a while, that the statement should go AFTER your regular
css link. Like this
<link href=”xxx.css” rel=”stylesheet” type=”text/css” />
<!–[if IE 7]>
<link href=”xxxie7.css” rel=”stylesheet” type=”text/css” />
<![endif]–>
Little things like that can keep some sites from being launched in time. Hope this information helps someone.
