formatting controls on a modal popup
<p>I have 2 text boxes on a modal popup, which is trigerred by a button on a UI. And I want to display these right next to each other. i.e Name1 and Name2 should display right next to each other along with their labels. </p>

<p>Only 2 controls per row and 1 control per column. I did the following but i get a unformatted results...Eventually I will extend this to use more controls on the modal but use the same layout pattern. I am doing UIs after a long time. What should i change in the following:</p>

<pre><code> &lt;td colspan="2" &gt;
     &lt;asp:label&gt;Name1&lt;/asp:label&gt;
     &lt;asp:TextBox runat="server" id="Name1" MaxLength="40"/&gt;
     &lt;span id="ctl00_ContentPlaceHolder1_custValNewOrga" style="color:Red;"&gt;
     &lt;asp:CustomValidator ID="validatorName" runat="server"
         OnServerValidate="Val_ServerValidate" ControlToValidate="Name1" 
         ValidateEmptyText="true" ValidationGroup="GroupName"&gt;
     &lt;/asp:CustomValidator&gt;
     &lt;/span&gt;        

     &lt;asp:label&gt;Name2&lt;/asp:label&gt;
     &lt;asp:TextBox runat="server" id="Name2" MaxLength="40"/&gt;
     &lt;span id="Span1" style="color:Red;"&gt;
     &lt;asp:CustomValidator ID="CustomValidator1" runat="server"
         OnServerValidate="custValNewOrga_ServerValidate" ControlToValidate="Name2" 
         ValidateEmptyText="true" ValidationGroup="GroupName"&gt;
     &lt;/asp:CustomValidator&gt;
     &lt;/span&gt;                                                                            
&lt;/td&gt;
</code></pre>
