Previous Message
Next Message

RE: [css-d] Rollover images

Sent by Bill Creswell on 10 February 2003 18:06


Todd says
in NS/Moz.  Basically, it would not display the background image for the
links.  I know that a similar feat could be attempted by using straight
div's instead of a tags, but that leads to even more
functionality/accessibility issues.  For now, it seems that we are stuck
with scripting.  Unless someone else has some more positive feedback??

Bill Says

Here was my sugg. To Brendan:
Make the text and the corner a gif, with a transparent background, and just change the hover color -
it will save k, download speed, and response time on mouseover 

(css image mouseovers seem to react slowly to me, perhaps because the don't cache)
<style>
a.turbo {background-color:blue}
a.turbo:hover {background:red}
</style>
</head>
<body>
<a class="turbo" href=#><img src="Untitled-3.gif" width="121" height="19" border="0" alt="" /></a>

See also 
http://www.uoguelph.ca/~stuartr/articles/cssrollovers.shtml
Previous Message
Next Message

Possibly related: