I have the following code for a form:
<
form method="post" action="downloaddemo.aspx">
<fieldset id="registration">
<h3>Fill out Registration Form:</h3>
<p><asp:ValidationSummary ID="ValidationSummary1" runat="server"
HeaderText
="There were errors on the page:" />
<label>First Name:</label><asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtFirstName"
ErrorMessage="First name required."> *</asp:RequiredFieldValidator><br />
<label>Last Name:</label><asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtLastName"
<
ErrorMessage="Last name required."> *</asp:RequiredFieldValidator>br />
<label>email:</label><asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txtemail"
ErrorMessage="email required."> *</asp:RequiredFieldValidator><br /> <p><asp:Button id ="btnDownloadDemo" runat="Server" Text="Download Demo" /></p></fieldset >
</form>
I would like to get the textboxes to align vertically on the form. How do I use CSS to accomplish this?
Thanks