Question: I am trying to setup a display using an ASPX page
State : <dropdown>
zip : <textbutton>
I have noticed that the ":" for both State & City is not consistent in all lines. Currently it looks like this.
State : <dropdown>
zip : <textbutton>
I believe there might be some mistake on my end, but I can't quite figure it out yet. Any suggestions would be appreciated.
Here is the code I have written so far,
<div style="text-align:center" >
<asp:Label runat="server" id="StateCategory" Text ="State:" CssClass="LabelLeftAligned" />
<asp:DropDownList runat="server" ID="StateDDown" DataTextField="Name" AppendDataBoundItems="true"></asp:DropDownList>
</div>
<div style="text-align:center" >
<asp:Label runat="server" id="lblzipCode" Text ="Zip:" CssClass="LabelLeftAligned" />
<asp:TextBox ID="txtboxZipcode" runat="server" MaxLength="5" />
</div>
The LabelLeftAligned class mentioned above is defined in the stylesheet as shown below.
.LabelLeftAligned {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: black;
font-weight: bold;
text-align: left;
}