Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Right Justify Hyperlink Buttons?

Reply
Thread Tools

Right Justify Hyperlink Buttons?

 
 
Tina
Guest
Posts: n/a
 
      12-08-2004
Is there any way to get the text property to right justify in controls like
Hyperlink buttons and labels?
Thanks,
T


 
Reply With Quote
 
 
 
 
aa7im
Guest
Posts: n/a
 
      12-09-2004
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;" ........>

 
Reply With Quote
 
 
 
 
G Dean Blake
Guest
Posts: n/a
 
      12-09-2004
You can apply in in code by....
LinkButton1.Attributes.CssStyle.Add("TEXT-ALIGN", "right")
G

"Tina" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Is there any way to get the text property to right justify in controls
> like Hyperlink buttons and labels?
> Thanks,
> T
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML table center / right justify g@thescapins.com HTML 1 05-01-2007 04:17 PM
justify <li> list to the right Norman HTML 15 03-06-2007 10:25 PM
Right justify text in textbox in web page John Wilson ASP .Net 2 10-08-2005 09:38 PM
right justify a column? John Wilson ASP .Net 2 06-22-2005 06:24 PM
How to right justify a column jwatts@berkeley.edu C Programming 2 07-23-2003 06:59 AM



Advertisments