Hi BOb,
Just add the following attribute to your textbox, in the HTML tab of the designer:
style="text-align:right"
>>>On a web form...
>>>
>>>1. How do I right align (right justify) the text in a weblable control?
>>>
>>>2. How do I right align data in certain columns? The builder only seems to let me set the alignment of all the columns in the grud.
>>>
>>>Thanks,
>>>BOb
>>
>>I responded over at the WC site, but just in case:
>>
>>You might have to apply a specific CssClass to the control to get it to behave the way you'd like (in both cases). That is, create or modify an existing style sheet, create a new class, then set it to align to the right. Then apply this class to the form element via the CssClass property.
>
>Thanks Paul, but I really want to stay away from a CSS. I would rather set the align property of the weblabel to "right". Heck, the HTML lable has it, and I may even change to that. I figured I could do something with a pre and post render tag, but I am not really sure what to do.
>
>BOb
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi