RE: Rollover-image Property

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 UTC