table inside div, table inside a panel in asp.net which is the best approach
<p>I have table inside panel. The  problem is This table is not appearing properly. It is not giving the gap between another preceding panel/div in the page</p>

<pre><code>&lt;asp:Panel ID="Panel1" runat="server"&gt;

&lt;table align="center" class="NavigateButtonsTable"&gt;
                            &lt;tr&gt;
                                &lt;td align="center" class="style1"&gt;
                                   &lt;%-- &lt;asp:Button ID="Button_Cancel" runat="server" Width="250px" Text="Send Data"
                                        CssClass="NavigateButtons" CausesValidation="False" /&gt;--%&gt;
                                         &lt;asp:Button ID="Button_Cancel" runat="server" Text="MyButtonSend"
                                        CssClass="NavigateButtons" CausesValidation="False" /&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
 &lt;/asp:Panel&gt;
</code></pre>

<p>I have a table in a panel</p>

<pre><code>another table in another panel

&lt;asp:Panel ID="Panel2" runat="server"&gt;
                        &lt;asp:Table ID="Table1" runat="server"&gt;
                            &lt;asp:TableRow&gt;
                                &lt;asp:TableCell&gt;&lt;b&gt;Number:&lt;/b&gt;&lt;/asp:TableCell&gt;
                                &lt;asp:TableCell&gt;
                                    &lt;asp:Label ID="Label_Number" runat="server" Text=""&gt;&lt;/asp:Label&gt;&lt;/asp:TableCell&gt;
                            &lt;/asp:TableRow&gt;
                            &lt;asp:TableRow&gt;
                                &lt;asp:TableCell&gt;
                                    &lt;fieldset&gt;
                                        &lt;legend&gt;&lt;b&gt;Name&lt;/b&gt;&lt;/legend&gt;
                                        &lt;table&gt;
                                            &lt;tr&gt;
                                                &lt;td align="right"&gt;
                                                    &lt;b&gt;First Name :&lt;/b&gt;
                                                &lt;/td&gt;
                                                &lt;td align="left"&gt;
                                                    &lt;asp:Label ID="Label_FirstName" runat="server" Text=""&gt;&lt;/asp:Label&gt;
                                                &lt;/td&gt;
                                            &lt;/tr&gt;
                                            &lt;tr&gt;
                                                &lt;td align="right"&gt;
                                                    &lt;b&gt;MI :&lt;/b&gt;
                                                &lt;/td&gt;
                                                &lt;td align="left"&gt;
                                                    &lt;asp:Label ID="Label_MiddleInitial" runat="server" Text=""&gt;&lt;/asp:Label&gt;
                                                &lt;/td&gt;
                                            &lt;/tr&gt;
                                            &lt;tr&gt;
                                                &lt;td align="right"&gt;
                                                    &lt;b&gt;Last Name :&lt;/b&gt;
                                                &lt;/td&gt;
                                                &lt;td align="left"&gt;
                                                    &lt;asp:Label ID="Label_LastName" runat="server" Text=""&gt;&lt;/asp:Label&gt;
                                                &lt;/td&gt;
                                            &lt;/tr&gt;
                                        &lt;/table&gt;
                                    &lt;/fieldset&gt;
                                &lt;/asp:TableCell&gt;
                            &lt;/asp:TableRow&gt;
                        &lt;/asp:Table&gt;
&lt;/asp:Panel&gt;
</code></pre>

<p>The problem is there is no gap between these tow tables.</p>
