• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

[CSS] hover

Danzig

New Member
Hi,

Is it possible to use the hover function of css on other objects then a link? I would like to "hover" a table row(<tr>) but I haven't been successful in my attempts so far. So before I try poking around with the codes even more, I thought a bright idea would be to ask here if it possible at all. :)

cheers
 
Yes, you can use the following

Code:
<tr onmouseover="this.bgcolor = '#CCCCCC'" onmouseout="this.bgcolor = '#DDDDDD'">

or whichever colours you want :)
 
slighty off topic here but just wanted to thank loon for the mouseover tutorial on his netcode page (or just a linked in the sig page, may not be his or hers for that matter).
Took some work but I have some good looking buttons now.

Thanks
 
Re: hover

Originally posted by sergeantrar
i make my roll overs flip -
A:hover {text-transform:none; height:0; filter:flipv}
CSS standards don't allow for the use of filters.
 
slighty off topic here but just wanted to thank loon for the mouseover tutorial on his netcode page (or just a linked in the sig page, may not be his or hers for that matter).
Took some work but I have some good looking buttons now.

Thanks

happy to hear it helped :)
 
Originally posted by sergeantrar
I do know that i edited my script and now my links do in fact flip
No they don't.

It's only some extra code MS created and doesn't work in anything but IE.
 
Back
Top