ShMiL
03-03-2003, 08:57 PM
Hi!
I have a navigation menu for my website and I want to change the bgcolor of the images (which are transparent) when mouse over.
I tried and wrote:
.bgmaker {background-color:red;}
and then tried to put it as class in the img tag, like this:
<img class="bgmaker">
I also tried to put the class on the <a> tags surrounding the image, and also tried to wrap it with <span class="bgmaker">...
nothing worked...
it seems to work great fo <a>, like:
a:hover{...}
Anyone can help?
Is it possible to put HOVER-properties for tags besides the <a> tag?
Thanks.
I have a navigation menu for my website and I want to change the bgcolor of the images (which are transparent) when mouse over.
I tried and wrote:
.bgmaker {background-color:red;}
and then tried to put it as class in the img tag, like this:
<img class="bgmaker">
I also tried to put the class on the <a> tags surrounding the image, and also tried to wrap it with <span class="bgmaker">...
nothing worked...
it seems to work great fo <a>, like:
a:hover{...}
Anyone can help?
Is it possible to put HOVER-properties for tags besides the <a> tag?
Thanks.