M
Mark Rae
Hi,
Is there any way to put a border round several rows in a standard HTML table
by surrounding them with an aspanel (or a client-side <div>)? When I try,
the border doesn't appear, though it does appear if I surround the entire
table with an aspanel.
E.g. this doesn't show the panel's border:
<table>
<aspanel ID=pnlPanel Runat=server BorderColor="Black"
BorderStyle="Solid" BorderWidth="2px">
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</aspanel>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
but this does:
<aspanel ID=pnlPanel Runat=server BorderColor="Black" BorderStyle="Solid"
BorderWidth="2px">
<table>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
</aspanel>
Is there any way to put a border round several rows in a standard HTML table
by surrounding them with an aspanel (or a client-side <div>)? When I try,
the border doesn't appear, though it does appear if I surround the entire
table with an aspanel.
E.g. this doesn't show the panel's border:
<table>
<aspanel ID=pnlPanel Runat=server BorderColor="Black"
BorderStyle="Solid" BorderWidth="2px">
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</aspanel>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
but this does:
<aspanel ID=pnlPanel Runat=server BorderColor="Black" BorderStyle="Solid"
BorderWidth="2px">
<table>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
</aspanel>