Re: Scope of :hover

> It's sensible that only interactive elements can accept the :hover
> pseudo-class. These are the only elements that can be "clicked on" to do
> something, and a change of colour/underline etc almost always implies a
> link.

This is only true today because :hover only works on some elements in IE. 
Dropdown menus, methods to display more information about objects etc have 
already been written for browsers supporting :hover on all elements.

For example: http://www.meyerweb.com/eric/css/edge/menus/demo.html

These forms of display have previously only been possible with JavaScript 
etc, the use of :hover is an important tool for a cleaner web.

Douglas

Received on Saturday, 7 June 2003 14:05:40 UTC