私はそのようなレイアウトを持っています...
<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>
<tr>
<td style="vertical-align: top; width: 15%;">
<p class="FieldLabel">
Field 3:</p>
<br />
<asp:RegularExpressionValidator ID="Field3Validator" runat="server" ControlToValidate="Field3"
ErrorMessage="Some message." ValidationExpression="^\d{16}"
EnableClientScript="true" CssClass="errortext" />
</td>
<td valign="top">
<asp:TextBox ID="Field3" runat="server" MaxLength="16"></asp:TextBox>
</td>
<td style="vertical-align: top; width: 15%;">
<p class="FieldLabel">
Field 4:</p>
<br />
<asp:RegularExpressionValidator ID="Field4Validator" runat="server" ControlToValidate="Field4"
ErrorMessage="Some message."
ValidationExpression="\A[A-HJ-NPR-Z\d]{11}\d{6}\z" EnableClientScript="true"
CssClass="errortext" />
</td>
<td valign="top">
<asp:TextBox ID="Field4" runat="server" MaxLength="17"></asp:TextBox>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 15%;">
<p class="FieldLabel">
Field 5:</p>
<br />
<asp:RegularExpressionValidator ID="Field5Validator" runat="server" ControlToValidate="Field5"
ErrorMessage="Some message."
ValidationExpression="\A[A-HJ-NPR-Z\d]{11}\d{6}\z" EnableClientScript="true"
CssClass="errortext" />
</td>
<td valign="top">
<asp:TextBox ID="Field5" runat="server"></asp:TextBox>
</td>
<td style="vertical-align: top; width: 15%;">
</td>
<td valign="top">
</td>
</tr>
<tr>
<td colspan="4">
<div class="d-formSubmitCont" style="padding-right: 20px;">
<!-- <asp:LinkButton CssClass="b-primaryBtnArrow" ID="Cancel" runat="server"><span>Cancel</span></asp:LinkButton> -->
<asp:LinkButton CssClass="b-primaryBtnArrow" ID="Find" runat="server" OnClick="Find_Click"
CausesValidation="true"><span>Find</span></asp:LinkButton>
</div>
</td>
</tr>
</table>
</div>
</div>
...ただし、アウターdiv
はの高さのみにまたがってh3
いますが、インナーの高さにもまたがるようにするにはどうすればdiv
よいですか?