asp.net login and register user controls formatting
<p>I have a VS2010 C# web application with standard login and register controls.</p>

<p>The login/register template is generated as below.The problem with this is that the label and the text field are displayed in 2 lines. But I would like to display them in single line with proper alignment . All label text right aligned with each other etc. I tried by CSS but I cannot assign length to inline elements. I can try converting everything to block elements and assigning width,float. But I am wondering if there is any option to generate table layout without too much CSS fiddling.</p>

<pre><code>&lt;p&gt;

  &lt;asp:Label ID="UserNameLabel" runat="server" 
                              AssociatedControlID="UserName"&gt;User Name:&lt;/asp:Label&gt;

  &lt;asp:TextBox ID="UserName" runat="server" CssClass="texdtEntry"&gt;&lt;/asp:TextBox&gt;

 &lt;/p&gt;
</code></pre>
