Results 1 to 4 of 4

Thread: Tab Content Script Help

  1. #1
    Join Date
    Dec 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Tab Content Script Help

    1) Script Title: Tab Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tabcontent.htm

    3) Describe problem: I need the tabs and the box itself to be right aligned. Can someone help me with this ??

    The URL where I have them placed is: http://www.jarodsafehouse.com/_testsite/

    jsh

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Inside tabcontent.css, just change the line:

    Code:
    text-align: left; /*set to left, center, or right to align the menu as desired*/
    to:

    Code:
    text-align: right;

  3. #3
    Join Date
    Dec 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you.

    I tried that after posting but didn't get the desired effect (it went too far to the right). Any other suggestions?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by webmistressk View Post
    Thank you.

    I tried that after posting but didn't get the desired effect (it went too far to the right). Any other suggestions?
    Using text-align:right; will put it 'all the way' to the right of an element that is (by default) width:100%. If you were to add a width value, that would modify it, ex:

    Code:
    text-align:right;
    width:475px;
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •