Log in

View Full Version : Do You Need To Style <tr> & <td>



tomyknoker
04-03-2007, 03:29 PM
I was reading a tutorial were they always style both <tr> & <td> with the same thing... Is this needed? Or do you just need to style <tr>?



table.navigation tbody tr.odd {
background: #252525;
color: #fff;
}
table.navigation tbody tr.odd td {
background: #252525;
color: #fff;
}

cbulmer
04-03-2007, 11:45 PM
I dont think that it is required under web standards, but it might be needed for IE. I might be wrong, but its just a guess