IE conditional statements not working

I have this conditional statement taken from http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

And I just noticed I can’t use the rich editor functions here with Chrome 4.0.249.89 (38071).

Anyway thats side issue. Problem here is, I have this statement


<!--[if lte IE 6]>
<script type="text/javascript" src="supersleight-min.js"></script>
<link src="ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

IE 6 could read the javascript without problem. But its not reading the styles in ie6.css. Any one faced this problem too?

If you check back on that CSS-Tricks link, you’ll notice that the code used was this:


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

Script element uses the src attribute. [URL=“http://reference.sitepoint.com/html/link”]Link element uses href attribute.

oh gosh…i should knock myself for that mistake.

thanks for the quick reply. yep its working good now. saved. ha…:rofl: