#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Posts
    288
    Rep Power
    12

    CSS, HTML, Javascript - I'm open to anything that will solve this...


    Ok say I have a frameset which consits of 3 frames, the middle frame is an autosize one.

    Each of the 3 frames then consits 3 divs, which using CSS the left and right divs are the site borders (using background images)and the middle div is constrained to the site width (760 px).

    Now if the page in the middle frame has more content than the height of the frame everything is fine. But if that page only has a small amount of content (not enough to fill the frame). The borders don't meet up with the bottom frame (there is a gap).

    I.e. :

    Code:
    
       _________________
      |                 |
      |     frame 1     |
      |_________________|
      |                 |
      | frame 2 - small |
      |     content     |
    
    
       _________________
      |                 |
      |     frame 3     |
      |_________________|
    Now I've tried setting (height: 100%) in the CSS for the divs, but that hasn't worked, neither have my play arounds with javascript etc.

    I'm open to any ideas that will solve this problem.

    -D
    Last edited by DEfusion; June 20th, 2003 at 01:07 PM.

IMN logo majestic logo threadwatch logo seochat tools logo