Element:hover in javascripted hierarchical menus

Valid XHTML 1.0 Valid CSS As you can see from the script used in this page and this non-scripted pure-css example, Internet Explorer needs a little script to display the hierarchical menus. Normal browsers do not need the javascripting.

Why does this happen? Because Internet Explorer's implementation of CSS is flawed. It thinks only hyperlinks can be hovered. Other elements don't get a hover pseudoclass.

2004/05/11