This is not a good method for an IE hack. Use conditional coments or any one of the numerous other hacks if you need different CSS for different browsers. This will not work very well in all browsers.
Wouldn't something like this alter that appearance of the objects on the different browsers? Why not put them all at 140px or 120px? Is there a reason behind this, or was it just taken from some code you had?
There is a reason for doing this: IE is fundamentally broken (or rather v6 and less are - 7 is a huge improvement), so there are often times when you need to feed one value to IE and one to the rest of the world.
Of course the best way to do it is using conditional comments - which won't go away in future versions of IE, unlike CSS hacks like this one.
Sadly, regular people don't see the fact that standards are needed on the internet for web design and the lot. I think people are more obsessed with marquee text (which, mind you, is extremely bothersome) and flashing objects. Microsoft goes the extreme route to please people at face value instead of in the long term. If it looks good, normal everyday people get it.
Wouldn't something like this alter that appearance of the objects on the different browsers? Why not put them all at 140px or 120px? Is there a reason behind this, or was it just taken from some code you had?
Of course the best way to do it is using conditional comments - which won't go away in future versions of IE, unlike CSS hacks like this one.
More at MSDN.
Olly
think drastic
This would only be shown to IE 6 or less.
<![endif]-->
It's so depressing.
-----------------------
Proud owner of scriptsentials.com and the Scriptsentials network.
=D
-----------------------
Proud owner of scriptsentials.com and the Scriptsentials network.