Help with 100% height minus fixed pixel height.

Discussion in 'HTML & Website Design' started by websiteads, Jan 19, 2011.

  1. #1
    Hello.

    I am having some trouble with div styles. It's not so easy to explain what I'm after so it's probably better if you see it for yourself:
    http://pastehtml.com/view/1cv5wwd.html

    Basically I need the divisions to act in exactly the same way they do on that page but instead of the bottom div covering the top when you change the browser window size to something small I would like the top div to push down on the bottom one so that a scroll bar appears on the main window. I have tried many different variations to get the desired effect even with javascript resizing etc but it seems rather buggy. There must be a way to do this with just css.

    Thankyou for any help!
     
    websiteads, Jan 19, 2011 IP
  2. GWiz

    GWiz Peon

    Messages:
    359
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    GWiz, Jan 19, 2011 IP
  3. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #3
    webcosmo, Jan 20, 2011 IP