How To Position Table Inside The Panel C# Web App?
<p>i am trying to vertically align the table present in the panel but i cant and when i apply style properties to the table it does not work ? means there would be no effect of style property on it as my code is given below,</p>

<pre><code>&lt;asp:Panel ID="Panel1" runat="server" 
        style="z-index:0;left:250px;position:absolute;top:160px; height: 160px; padding:10" 
        BackColor="Green" Width="300px"&gt;
        &lt;div style="width: 295px; height: 155px;" align= "center"&gt;
        &lt;table style="height: 48px; width: 187px; margin-left:0px;  min-height:14px; min-width:55px; vertical-align:bottom" align="center" bgcolor="green" &gt;
    &lt;tr&gt;
    &lt;td&gt;
        &lt;asp:Label ID="Label2" runat="server" Text="UserName" ForeColor="White"&gt;&lt;/asp:Label&gt;
    &lt;/td&gt;
    &lt;td&gt;
        &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;
        &lt;asp:Label ID="Label3" runat="server" Text="Password" ForeColor="White"&gt;&lt;/asp:Label&gt;
    &lt;/td&gt;
    &lt;td&gt;
        &lt;asp:TextBox ID="TextBox2" textmode="Password" runat="server"&gt;&lt;/asp:TextBox&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;
        &lt;asp:Label ID="Label4" runat="server" ForeColor="White"&gt;&lt;/asp:Label&gt;
    &lt;/td&gt;
    &lt;td&gt;
        &lt;asp:Button ID="Button1" runat="server" Text="Login" onclick="Button1_Click" /&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/div&gt;
   &lt;/asp:Panel&gt;  
</code></pre>

<p>Hopes for your suggestions</p>
