angel_victory
12-20-2004, 05:39 AM
how to i make it so when i hover over a link the whole row is highlighted?
an example is this sites link
www.daydreamgraphics.com
an example is this sites link
www.daydreamgraphics.com
|
View Full Version : link hover question angel_victory 12-20-2004, 05:39 AM how to i make it so when i hover over a link the whole row is highlighted? an example is this sites link www.daydreamgraphics.com kittycat 12-20-2004, 03:22 PM They used tables I think, then this type of thing: http://www.basictips.com/tips/article_71.shtml Without tables: a:hover { display: block; background-color: #FF0000; } See if one of those works. angel_victory 12-21-2004, 08:13 PM it doesnt work. i want it so when i hover to the link the links whole row is highlighted like that sites. is that site using css? or some other thing? can someone tell me how to do that? kittycat 12-21-2004, 08:39 PM The tables way is the way the site did it. The CSS way I posted should work. If it's not working, could you post your modified code? angel_victory 12-21-2004, 10:09 PM heres my code <style type="text/css"> A:link { text-decoration: none; color:#ffc600; font-size: 11px; } A:visited { text-decoration: none; color:#ffc600; font-size: 11px; } A:hover { text-decoration: none; color:#ffffff; font-size: 11px; background-color:00083b; display: block;cursor: crosshair;} </style> <style type="text/css"> so you mean that i need to put each link in a table and change the tables background color? kittycat 12-22-2004, 01:30 AM Nope, not if you use that CSS. There's nothing wrong with the code you posted (except the new style tag at the bottom), and I just tested it and it works for me. If this is an external stylesheet, try removing the <style> tags, if not, could you post the page with the problem? angel_victory 12-22-2004, 09:21 AM oh nevermind i found out how the site did it they used some javascript and some other stuff. thank you for your help |