Use a styleshhet when NOT IE

Posted by Sam Gregory on Stack Overflow See other posts from Stack Overflow or by Sam Gregory
Published on 2010-03-25T10:39:41Z Indexed on 2010/03/25 10:43 UTC
Read the original article Hit count: 249

Filed under:
|

When i use this code

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

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

IE 6 does correctly use the specified stylesheet but all other browsers ignore both when they should be using the one that basically states, use this stylesheet if you are not IE.

Any ideas?

© Stack Overflow or respective owner

Related posts about internet-explorer

Related posts about css