Cannot control the width of the label control
- From: BobLaughland <peter.mcclymont@xxxxxxxxx>
- Date: Mon, 03 Sep 2007 16:11:34 -0700
Hi There,
I am trying to get some fields to align on a web page, like this,
To:
From:
Subject:
Each of the fields above have a corresponding asp:Textbox control next
to it that I cannot get to lign up. I have this code,
<asp:Label Runat="server" Width="100px" ID="Label6">To: </
asp:Label>
<asp:TextBox ID="Textbox1" Runat="server" Width="200px" />
<asp:Label Runat="server" ID="Label7" ForeColor=red Width="5px">*</
asp:Label>
So that means I have tried to tell it that I want the asp:label
control to be 100 pixels wide, but it seems to shrink the label width
to fit the text.
Please help.
.
- Follow-Ups:
- Re: Cannot control the width of the label control
- From: Nathan Sokalski
- Re: Cannot control the width of the label control
- Prev by Date: Re: The 'OraOLEDB.Oracle.1' provider is not registered on the local machine
- Next by Date: autocomplete=off is not XHTML compliant
- Previous by thread: Can't find a GridView inside a template of a custom templated web control
- Next by thread: Re: Cannot control the width of the label control
- Index(es):
Relevant Pages
|