M
Malcolm Collett
This code works the way I want it to, provided I have the cellspacing="0" in
the table tag. If I take this out, then I get a 1 pixel gap in the border
above and below the <th> row.
What do I put into the style sheet so that I can get rod of the
cellspacing="0"? I have tried margin:0 and padding:0 in various places, but
it doesn't help.
Thanks
Malcolm
<h4><a name="Beginners">Beginners</h4></a></h4>
<table class="restable" cellspacing="0">
<tbody class="restbody">
<tr class="restr">
<th class="resthhandler">Handler</th>
<th class="resthdog">Dog</th>
<th class="resthpercent">%</th>
</tr>
<tr class="restr">
<td class="restdhandler">Joe Bloggs</td>
<td class="restddog">Rover</td>
<td class="restdpercent"> 96.0</td>
</tr>
</tbody>
</table>
<br>
<div class="resdivback"><a class="BodySmall" href="#">Back To Top</a></div>
The style sheet contains this:
table.restable {}
tbody.restbody {}
tr.restr {}
th.resthhandler {width:170px; border-top:thin solid black;
border-bottom:thin solid black;}
th.resthdog {width:100px; border-top:thin solid black; border-bottom:thin
solid black;}
th.resthpercent {width: 45px; border-top:thin solid black;
border-bottom:thin solid black;}
td.restdhandler {width:170px;}
td.restddog {width:100px;}
td.restdpercent {width: 45px;}
resdivback {}
the table tag. If I take this out, then I get a 1 pixel gap in the border
above and below the <th> row.
What do I put into the style sheet so that I can get rod of the
cellspacing="0"? I have tried margin:0 and padding:0 in various places, but
it doesn't help.
Thanks
Malcolm
<h4><a name="Beginners">Beginners</h4></a></h4>
<table class="restable" cellspacing="0">
<tbody class="restbody">
<tr class="restr">
<th class="resthhandler">Handler</th>
<th class="resthdog">Dog</th>
<th class="resthpercent">%</th>
</tr>
<tr class="restr">
<td class="restdhandler">Joe Bloggs</td>
<td class="restddog">Rover</td>
<td class="restdpercent"> 96.0</td>
</tr>
</tbody>
</table>
<br>
<div class="resdivback"><a class="BodySmall" href="#">Back To Top</a></div>
The style sheet contains this:
table.restable {}
tbody.restbody {}
tr.restr {}
th.resthhandler {width:170px; border-top:thin solid black;
border-bottom:thin solid black;}
th.resthdog {width:100px; border-top:thin solid black; border-bottom:thin
solid black;}
th.resthpercent {width: 45px; border-top:thin solid black;
border-bottom:thin solid black;}
td.restdhandler {width:170px;}
td.restddog {width:100px;}
td.restdpercent {width: 45px;}
resdivback {}