Re: What happened to Alignment property?



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
>


.