Right Justify Hyperlink Buttons?

  • Thread starter Thread starter Tina
  • Start date Start date
T

Tina

Is there any way to get the text property to right justify in controls like
Hyperlink buttons and labels?
Thanks,
T
 
add a style tag to the control, it wont show up in intelliesense if
you're using VS.NET but it will still work:
<asp:hyperlink runat="server" style="text-align:right;" ........>
 
You can apply in in code by....
LinkButton1.Attributes.CssStyle.Add("TEXT-ALIGN", "right")
G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top