Need border aligned with td's
<p>I have a Html for which, I want to aligned <code>border</code> over its <code>td's</code> as shown in the Image below</p>

<p><a href="https://i.stack.imgur.com/vxtsx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vxtsx.png" alt="TD over image"></a></p>

<p>I tried but it was not coming. </p>

<p>Below is the html</p>

<pre><code>&lt;table bgcolor="#EAEFF5" cellpadding="3" cellspacing="3" width="100%"&gt;
    &lt;tr&gt;
        &lt;td style="vertical-align: top;"&gt;
            &lt;table bgcolor="#EAEFF5" cellpadding="3" cellspacing="3" width="100%"&gt;
                &lt;tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                        Aggregate Name:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtAggrName" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                        Confirming Party:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtConfirmParty" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;tr&gt;
                        &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                            Agreement Amt Payable:
                        &lt;/td&gt;
                        &lt;td class="field2" style="text-align: left;"&gt;
                            &lt;asp:TextBox ID="txtAgreePay" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                        &lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 70%;"&gt;
                        Land Aggregate Payable:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtLandPay" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                        Confirming Party:
                    &lt;/td&gt;
                    &lt;td style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="TextBox1" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                        Total Land Value:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtTotLandValue" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                        Stamp Duty:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtStampDuty" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                    &lt;td style="font-family: Courier New; text-align: left; font-size: 120%; width: 60%;"&gt;
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Registration Fees:
                    &lt;/td&gt;
                    &lt;td class="field" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtRegFees" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Legal Fees:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtLegFees" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Other Expenses:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtOthExp" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Total:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtTotal" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Grand Total:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;asp:TextBox ID="txtGrandTotal" runat="server" Width="95%"&gt;&lt;/asp:TextBox&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
        &lt;/td&gt;
        &lt;td style="vertical-align: top;"&gt;
            &lt;table bgcolor="#EAEFF5" cellpadding="3" cellspacing="3" width="100%"&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Registration Date:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text1" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Registration No:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        POA No:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        POA Holder:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Conveyance Deed Regist No:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td class="label2" style="font-family: Courier New; text-align: left; font-size: 120%;"&gt;
                        Conveyance Deed Regist Date:
                    &lt;/td&gt;
                    &lt;td class="field2" style="text-align: left;"&gt;
                        &lt;input type="text" style="width: 60%" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>Let me know how to get that</p>