J
JesperGJensen
I am using a Repeater to build a Table.
<asp:Repeater ID="rptComplaintReasons" runat="server">
<HeaderTemplate>
<table style="border: solid 1px black;">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="border-right: dotted 1px black; border-
bottom: dotted 1px black;">
cell 1
</td>
<td style="border-bottom: dotted 1px black; padding-
top: 3px;">
cell 2
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
The whole table has a black solid border and the inner cells are
divided by a dotted black border.
Unfortunately both the dotted border and the solid border is visible
at the bottom of the last row of cells.
I would like to identify this last row and use a CSS class that only
does a right border there. This would remove the last dotted bottom
border for me.
Anyone have any advice?
<asp:Repeater ID="rptComplaintReasons" runat="server">
<HeaderTemplate>
<table style="border: solid 1px black;">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="border-right: dotted 1px black; border-
bottom: dotted 1px black;">
cell 1
</td>
<td style="border-bottom: dotted 1px black; padding-
top: 3px;">
cell 2
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
The whole table has a black solid border and the inner cells are
divided by a dotted black border.
Unfortunately both the dotted border and the solid border is visible
at the bottom of the last row of cells.
I would like to identify this last row and use a CSS class that only
does a right border there. This would remove the last dotted bottom
border for me.
Anyone have any advice?