I've ruled out browser/PC problems because I just tested an example from an earlier post on this site ("Can you place a class on a row - 10/30/03) which worked fine.
I get a bottom-border when I set the <td> class attribute but not so with <tr>. Does anyone see my error?
[/code]
<td>First row of content</td>
</tr>
<tr>
[/code]
[/code]Second row of content</td>
</tr>
</table>
</body>
</html>
[/code]
Many thanks for your help.
I get a bottom-border when I set the <td> class attribute but not so with <tr>. Does anyone see my error?
Code:
<html>
<head>
<style>
.color1
{
BORDER-BOTTOM: black 1px solid;
background-color: #ffffdd;
}
.color2
{
BORDER-BOTTOM: black 1px solid;
background-color: #eeffee;
}
</style>
</head>
<body>
<table>
Code:
<tr class='color1'>
<td>First row of content</td>
</tr>
<tr>
[/code]
Code:
<td class='color2'>
</tr>
</table>
</body>
</html>
[/code]
Many thanks for your help.