views:

119

answers:

4

Hi! Are there any differences using

<!--[if lt IE 7]>...<![endif]-->

or

<!--[if lte IE 6]>...<![endif]-->

?

A: 

I suppose they're the same. foo < 5 is the same as foo <= 4.

Maybe that if there were numbered versions of IE6 it would be different (like IE6.2 or something), but as far as I know it's not the case.

zneak
+3  A: 

There will be a difference if a rare, mythological species of browser dubbed as Internet Explorer 6.66 is found.

KennyTM
lol this one? http://tinyurl.com/iesixsixsix
lucas
A: 

They should be the same... lte 6 includes 6 on down, lt 7 includes anything before 6.

markwatson
That's why I've asked... ;-)
lucas
+1  A: 

Yes, they do the same thing.

Here's a reference from Microsoft.

tedmiston
bookmarked...thanks!
lucas