Click to See Complete Forum and Search --> : table cell AND text rollover


Che
11-10-2004, 01:15 PM
Hey all. I need to figure out how to create a rollover for a table cell AND change the rollover cvolor of text.

tr:hover
{
background-color:#ffffff;
}

i need the text in the table row to change to red as the background changes to white on rollover. LIKE THIS:


tr:hover
{
background-color:#ffffff;
a {color:#cc0000;}
}

David Harrison
11-10-2004, 02:59 PM
Like this?tr a{
display:block;
}

tr a:hover{
background-color:#fff;
color:#c00;
}