Thanks Martin
That is getting closer, but it still involves editing the HTML code
I have tried making definitions in Styles.css and they are all ignored
Are there any other ideas, or should I stick with what works
Thanks again
----- Martin Dechev wrote: ----
Hi, Timothy Swanson
You can create a style and then assign it to the buttons. something lik
this
<style type="text/css"
..leftAlig
text-align: left
</style
then assign it
button1.CssClass = "leftAlign"
button2.CssClass = "leftAlign"
etc
Documentation
http://msdn.microsoft.com/library/en...sclasstopic.as
Hope this help
Marti
"tswanson" <> wrote in messag
news:A82A6935-760C-4E34-BFF0-..
>> Anybody know how to do this "in the code behind the form"? We have
class defined to handle button mouseover behaviour and the like. We woul
like the ability to add the text alignment to the form. While editing th
HTML does work, it would be easier if we did not have to edit every singl
button on the web page
>> Thanks
>> Timothy Swanso
> ----- Nakul wrote: ----
>> Hi
>> Try thi
>><asp:Button id="Button1" runat="server" Text="Button" Width="256px
> style="TEXT-ALIGN: left"></asp:Button>>> This align the text left for the butto
>> Thank
> Naku
>>>> "DM" <danmorrissey-nos-pam-@cfl.rr.com> wrote in messag
> news:..
>> Is there any way to left align the text in a server control button
>>>