Hi i have a div with a class called "beenThere" I trying to set a style for the class, and also set a different style for a hover effect, this is what i have so far, any suggestions, thanks!
Tailslide -> RE: hover over div tag (8/2/2007 3:42:52)
This is easy peasy for modern browsers (even IE7 can manage it!) but IE6 and under will only do hover effects on links. But there's a way around it with a little scripting help.
Had a bit of time this morning so put a test together for you:
This includes the normal markup and CSS which will give the div a hover effect in all modern browsers plus IE7. It also includes a conditional comment which feeds a script known as whatever:hover to IE6 and under.