CSS/onmouseover
- Started
- Last post
- 5 Responses
- warheros
im sure it's a pain for all of you, but i need some help.
i am trying to figure out how to do onmouseover on links so that there is a css test background on a specific test when you hover the mouse over it. cant seem to find it anywhere.
ps - know how to make the text background just normal, with no onmouseover.
pps - so if someone could point me in the right direction, i would appreciate it!
- warheros0
check out this:
http://www.semora.orgkind of like that, see how the text has a css background? but i only want that to appear when the mouse is hovering over it. wish i could find a more appropriate link but here lies the downfalls of dial-up ISP.
- gabriel_pc0
just do a view source on that semora page and you'll see how they did it.
a:hover {
background-color: #000;
}
- ganon0
read the link i posted...:
a:link { color:#000; font: 10px Geneva, Verdana, Arial, sans-serif; text-decoration: none; }
a:visited { color:#000; text-decoration: none; }
a:hover { color:#FF0000; text-decoration: underline; background: #000; }
a:active { color:#000; }
- warheros0
wow, thank you guys so much.
im just learning css, like this second.
thanks again!
shit this is easier than html! a godsend!