[thelist] Image border to colour on hover
Linda Tamblyn
ldt at look.ca
Mon Sep 16 15:56:01 CDT 2002
Hi Evolters,
Does anyone know if it is possible to make borders on images hover with a
link?
I'm trying to do this with style sheets, but I can only get it to work with
text links.
.rev a:link {
color: #000000;
}
.rev a:visited {
color: #CCCCCC;
}
.rev a:hover, .rev a:active {
color: #336600;
}
I have tried using DIV and SPAN for all of the variables. I can't seem to
get it to work.
eg.
<A class="rev" href="index.html">
And I tried
<DIV CLASS="rev"> around the image, for the TD and just about anywhere else
I can think of.
I can put ALINK etc in the <BODY> tag but it won't give me hover.
Does anyone have any suggestions?
Could I do this with JavaScript without having to create a bordered version
of every image?
Thanks Linda
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
More information about the thelist
mailing list