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 asp
anel (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 asp
anel.
E.g. this doesn't show the panel's border:
<table>
<asp
anel 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>
</asp
anel>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
but this does:
<asp
anel 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>
</asp
anel>
Is there any way to put a border round several rows in a standard HTML table
by surrounding them with an asp

the border doesn't appear, though it does appear if I surround the entire
table with an asp

E.g. this doesn't show the panel's border:
<table>
<asp

BorderStyle="Solid" BorderWidth="2px">
<tr>
<td>Text</td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
</tr>
</asp

<tr>
<td>Text</td>
<td>Text</td>
</tr>
</table>
but this does:
<asp

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>
</asp
