View Full Version : [CSS] hover
Danzig
July 27th, 2003, 04:41
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
Loon
July 27th, 2003, 09:03
Yes, you can use the following
<tr onmouseover="this.bgcolor = '#CCCCCC'" onmouseout="this.bgcolor = '#DDDDDD'">
or whichever colours you want :)
Fab4
July 29th, 2003, 20:51
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
sergeantrar
August 23rd, 2003, 15:28
i make my roll overs flip -
A:hover {text-transform:none; height:0; filter:flipv}
-rachel-
http://fortylicks.net
Bruce
August 23rd, 2003, 15:48
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.
Loon
August 23rd, 2003, 16:04
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 :)
bloodyveins
August 25th, 2003, 05:50
you can find what element has pseudo class (eg. hover, active, etc.) by clicking this link: http://www.htmlhelp.com/reference/css/structure.html
sergeantrar
August 25th, 2003, 16:19
i dont know to much about these "CSS standards don't allow for the use of filters" techinal terms. I do know that i edited my script and now my links do in fact flip-
rachel-
http://fortylicks.net
Bruce
August 27th, 2003, 14:16
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.
awayfromforum
August 28th, 2003, 12:38
I was starting to wonder why i didnt see anything flip on that site.
sergeantrar
September 1st, 2003, 15:36
i have asked many friends about the hover on my site and not all but the majority see it flip-i am on internet explorer yes
thanks for the input guys i'll keep it in mind
-rachel-
http://fortylicks.net
Powered by vBulletin® Version 4.1.7 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.