On 2 Apr 2004 05:38:21 -0800, carramba <ca******@bootre.com> wrote:
Hi!
I was wondering if here enyway to change layer backround with css, I
don't want to use javascript. The code have to by placed in css file.
If it's an anchor, it's easy, use the :hover pseudo.
a {
background-color: #ff0000;
}
a:hover {
background-color: #cc0000;
}
While CSS allows :hover to be applied to other selectors, browser support
for non-anchors is poor. Some browsers will not render the hover style.
See
http://www.w3.org/TR/CSS2/selector.html#x33 for more info.