Re: What happened to Alignment property?
- From: "Rob R. Ainscough" <robains@xxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 13:46:40 -0700
Thank you for the response.
I must admit, tasks that are VERY simple to accomplish in VB.NET Windows
applications are considerably more code intensive under ASP.NET. I keep
trying to convience myself that I'm not moving backwards in development
technology when it comes to Web application development -- there must be a
better way.
But thanks again for your help.
Rob.
"Mythran" <kip_potter@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23O7o%23JEcFHA.2180@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Rob R. Ainscough" <robains@xxxxxxxxxxx> wrote in message
> news:%239fxrxCcFHA.1152@xxxxxxxxxxxxxxxxxxxxxxx
>> I'm working on an ASP.NET with VB.NET web application (Web Forms) and I
>> can't find an Alignment property for the TextBox nor the Label control?
>> What am I missing?
>>
>> Thanks, Rob.
>>
>
>
> In ASP.Net, you would use styles or stylesheets to control text alignment
> (see text-align attribute).
>
> Programatically:
> TextBox1.Attributes.Add("text-align", "right")
>
> Style:
>
> .MyCSSClass {
> text-align : right;
> }
>
> Mythran
>
.
- References:
- What happened to Alignment property?
- From: Rob R. Ainscough
- Re: What happened to Alignment property?
- From: Mythran
- What happened to Alignment property?
- Prev by Date: Re: Custom Controls & Javascript
- Next by Date: Re: Custom Controls & Javascript
- Previous by thread: Re: What happened to Alignment property?
- Next by thread: Re: What happened to Alignment property?
- Index(es):