Posted by bartomolina on 04/05/07 15:25
when i use the css tr.odd attribute, nothing happens, odd rows are
still white (Firefox 2 and IE 6)!!!!
<html>
<head>
<style type="text/css">
tr.odd {background: #000}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</tbody>
</table>
</body>
</html>
If I use tr {background: #000} instead, it works fine: all rows are
black.
Someone knows which is the problem??
[Back to original message]
|