Results 1 to 2 of 2

Thread: Tab Content Script Help

  1. #1
    Join Date
    Jul 2007
    Posts
    3
    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 would really like to use the Tab Content Script on my site to show important information for my visitors but I would like it to stay the same height whenever they click on a different tab so my site will NOT move around.

    How do I change it so it all just one height?

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

    Default

    Just modify the CSS for "tabcontentstyle" inside your .css file so it contains a height attribute that accomodates the longest content within your tabs:

    Code:
    .tabcontentstyle{ /*style of tab content oontainer*/
    border: 1px solid gray;
    width: 450px;
    height: 600px;
    margin-bottom: 1em;
    padding: 10px;
    }

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
  •