I am working with a layout that looks like this ...
<div style="width: 99%; border: 1px dotted #0683DA; padding: 8px;">
<h3>Some Header</h3>
<div class="d-dataGridBodyRow" style="padding: 0px">
<table style="vertical-align: top;">
<tr>
<td colspan="4" id="ErrMsg" runat="server">
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 15%;">
<p class="FieldLabel">
Field 1:</p>
</td>
<td>
<asp:TextBox ID="Field1" runat="server"></asp:TextBox>
</td>
<td style="vertical-align: top; width: 15%;">
<p class="FieldLabel">
Field 2:</p>
</td>
<td valign="top">
<asp:TextBox ID="Field2" runat="server"></asp:TextBox>
</td>
</tr>
// more table rows...
</table>
</div>
</div>
... however, the outer div
only covers the height of the h3
element. How can I make it span the height of the inner div
as well?