html - How to change text color for link in tr element with CSS -
i'd change background , text color when mouse hovers on row in table:
tr { background-color:#fff; color:#000; } tr:hover { background-color:#000; color:#fff; }
this works if there aren't links in tr
elements, when there are, link color remains black (because of a { color: #000; }
?). how specify in css links in tr
element should change color when mouse hovers on tr
?
how about
tr:hover { color: #cc0000; }
is looking ?
Comments
Post a Comment