This does not work with IE7: Use this instead: Problem: document.all exists in IE8 too, but IE8 does not work with ‘className’! My solution in one of my projects was prototype: PS: in IE7 you can set styles to an element this way:
Below you'll find a list of all posts that have been tagged as “IE7”
This does not work with IE7: Use this instead: Problem: document.all exists in IE8 too, but IE8 does not work with ‘className’! My solution in one of my projects was prototype: PS: in IE7 you can set styles to an element this way: