I'm trying to get an entire table cell (including the link inside it) to change color when the user rolls his mouse over it. The code in the .css file is: a.bar:hover, td.bar:hover {color:#FFFFFF; background-color:#660000}
css question
7
I'm trying to get an entire table cell (including the link inside it) to change color when the user rolls his mouse over it. The code in the .css file is:
a.bar:hover, td.bar:hover {color:#FFFFFF; background-color:#660000}
The problem with this is that if I highlight the cell but not the text directly, it only changes the background around the text, which looks really, really ugly. Is there any way I can get the link to change color just by hovering over the table cell?
Oh, and to add to the problem, in IE I can't get the cell to change color at all. Am I better off just using images instead of text links?
a.bar:hover, td.bar:hover {color:#FFFFFF; background-color:#660000}
The problem with this is that if I highlight the cell but not the text directly, it only changes the background around the text, which looks really, really ugly. Is there any way I can get the link to change color just by hovering over the table cell?
Oh, and to add to the problem, in IE I can't get the cell to change color at all. Am I better off just using images instead of text links?
- Aronya
- RedMatrix
- [ 1 ] Thanks
- [1] reply
- Darth Executor
- Aronya
- Darth Executor
- cakdesigns
Next Topics on Trending Feed
-
7