Results 1 to 5 of 5

Thread: Menu Tab Content Extends Below Table

  1. #1
    Join Date
    Nov 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu Tab Content Extends Below Table

    I have the Menu Tabs located inside a table. Unfortunately, the tab contents extend below the bottom of the table.

    Is there a way to avoid this problem? I've tried setting the cell and table heights to 100%. The only fix I can think of is giving the cell a fixed pixel height, but that causes things to get ugly if one person is using 800x600 resolution and another 1024x...

    Here is a page from the site

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

    Default

    Please edit your post to include a link to the script on DD in question, per the Sticky. This makes it a lot easier for people who want to help to refer to the script.

  3. #3
    Join Date
    Nov 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is the script I used /

    The url for my site is in the above post.

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

    Default

    I see the problem, which seems to only appear in Firefox/NS, and not IE. This isn't a scripting issue per say, but rather, how different browsers handle dynamic content when inserted into a certain HTML tag. I see you're using a full table within each DIV to contain your content- that could be the reason why Firefox doesn't pick up on the content's height and allow it to extend the page accordingly. This is just a guess, but you may want to try a scenerio where the content are simply wrapped in their default DIV tags, and see if that solves the problem.

  5. #5
    Join Date
    Nov 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Found the source of my problem:
    Code:
    #tabcontentcontainer{
     /*width of 2nd level content*/
    height:40px; /*height of 2nd level content. Set to largest's content height to avoid jittering.*/
    }
    After eliminating the height, no probs in Firefox.

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
  •