|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
css rollover problem
This questions may disgust any web standards folks as it goes against the principles of CSS and standards design but my company uses tables for all layout and I have to deal with that.
I want to implement CSS rollovers using classes such as a:hover on our menu however all text links in the menu are inside <td>'s. Do you have an idea on how to make the the whole td a rollover using CSS? Basically my problem is that I can't enclose the <td> in an <a href> so I am having problems getting the whole <td> to have a rollover effect (rather than just the text link inside the <td>). |
|
#2
|
||||
|
||||
|
you could set display:block; to the a
so the a filles the whole td. a { display:block; } you maybe have to set height/width aswell. |
|
#3
|
|||
|
|||
|
thank you akh...
after much searching i had just found out this trick on dynamicdrive.com and am just starting to implement it..... should have posted here sooner, would have saved me much searching.... thanks again. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > css rollover problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|