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?
The not IE conditional comment is a bit of a hack, and is therefore written slightly differently from when you are targeting IE.
Non-IE browsers will read this as they ignore the conditional comments completely and the comment is considered closed with the added extras. IE will read this as a “not IE” conditional and avoid calling the stylesheet.