Right Justify Hyperlink Buttons?

Discussion in 'ASP .Net' started by Tina, Dec 8, 2004.

  1. Tina

    Tina Guest

    Is there any way to get the text property to right justify in controls like
    Hyperlink buttons and labels?
    Thanks,
    T
     
    Tina, Dec 8, 2004
    #1
    1. Advertising

  2. Tina

    aa7im Guest

    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;" ........>
     
    aa7im, Dec 9, 2004
    #2
    1. Advertising

  3. Tina

    G Dean Blake Guest

    You can apply in in code by....
    LinkButton1.Attributes.CssStyle.Add("TEXT-ALIGN", "right")
    G

    "Tina" <> wrote in message
    news:%...
    > Is there any way to get the text property to right justify in controls
    > like Hyperlink buttons and labels?
    > Thanks,
    > T
    >
     
    G Dean Blake, Dec 9, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Wilson

    right justify a column?

    John Wilson, Jun 21, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    665
    John Wilson
    Jun 22, 2005
  2. John Wilson

    Right justify text in textbox in web page

    John Wilson, Oct 8, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    6,504
    John Wilson
    Oct 8, 2005
  3. How to right justify a column

    , Jul 23, 2003, in forum: C Programming
    Replies:
    2
    Views:
    10,578
  4. Norman
    Replies:
    15
    Views:
    4,256
    Andrew
    Mar 6, 2007
  5. Replies:
    1
    Views:
    1,106
    Beauregard T. Shagnasty
    May 1, 2007
Loading...

Share This Page