W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: Scope of :hover

From: Douglas Livingstone <lists@neuance.net>
Date: Sat, 07 Jun 2003 20:03:42 +0200
To: Matt <matt@hogwarts-library.net>, www-style@w3.org
Message-ID: <oprqesggby8hptl8@mail.neuance.net>

> 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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC