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

RE: Rollover-image Property

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Thu, 20 Jun 2002 16:25:30 +0300
Message-ID: <E657D8576967CF448D6AF22CB42DD26908BF82@ermhs.Athens.BrokerSystems.gr>
To: "Nicholas Atkinson" <nik@casawana.com>
Cc: <www-style@w3.org>


Your post is contradictive. As you say, one can achieve this very common
effect consistently across browsers today using just CSS:

a:link{
 background-image: url('myImage.png');
}

a:hover{
 background-image: url('myHoverImage.png');
}

Why introduce a new property? This will probably result in much more
incompatibilities between browsers.

Manos

-----Original Message-----
From: Nicholas Atkinson [mailto:nik@casawana.com] 
Sent: Thursday, June 20, 2002 4:02 PM
To: www-style@w3.org
Subject: Rollover-image Property


Given that it is already possible in CSS to do rollover effects (well
sort of, anyway) using a combination of the :hover pseudo-class and the
background-image property, then could we not have a "rollover-image" CSS
property which could provide this very common effect consistently across
browsers, with minimum markup, even if they don't support or have
disabled javascript?  

nik
Received on Thursday, 20 June 2002 09:25:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT