我有以下标签和文本框 -
<div>
<fieldset class="myform">
<legend>Form</legend>
<asp:Label ID="Label1" runat="server" AssociatedControlID="fname">First Name:</asp:Label>
<asp:TextBox ID="fname" runat="server" CssClass="textEntry"></asp:TextBox> <br>
<asp:Label ID="Label2" runat="server" AssociatedControlID="lname">Last Name:</asp:Label>
<asp:TextBox ID="lname" runat="server" CssClass="textEntry"></asp:TextBox> <br>
<asp:Label ID="Label3" runat="server" AssociatedControlID="town">Address1:</asp:Label>
<asp:TextBox ID="address1" runat="server" CssClass="textEntry"></asp:TextBox> <br>
<asp:Label ID="Label5" runat="server" AssociatedControlID="town">Town:</asp:Label>
<asp:TextBox ID="town" runat="server" CssClass="textEntry"></asp:TextBox> <br>
</fieldset>
</div>
输出是标签-(fname,lname,address等)很好地排列而文本框不是,我想做的是让文本框排列起来?
非常感谢任何帮助,谢谢
所以我想要这样
First Name [ ]
Last Name [ ]
Address [ ]
等等