Results 1 to 2 of 2

Thread: Making the tab boxes a static size

  1. #1
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Making the tab boxes a static size

    1) Script Title: ajax tabs

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

    3) Describe problem: I want the tab size to stay static. I tried putting a height property in the div id, but it didn't make a difference. Is there somewhere in the CSS that I can add a height property? (the tabs are at http://www.udallas.edu/library/resources/tabs.htm)

    Thanks!

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

    Default

    Don't you mean the content DIV (rather than the tabs themselves)? I see right now you already have a height attribute declared for that DIV, though it's too short:
    Code:
    <div id="countrydivcontainer" style="border:1px solid navy; width:500px; height:50px; margin-bottom: 1em; padding: 10px">
    Either set it to a larger number, or remove it to allow the content loaded inside to dictate its height.

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
  •