I just need a little help with some CSS layout if you don't mind.
I've got three things I'm trying to play around with and I need some help making this work the way I was hoping.
I've got the <body> element of a page, which I'd like to be 100% of the browser window, obviously.
Then I've got two <div> elements which I'd like to stack on top of each other, but the trick is this, I'd like the bottom <div>, (a menu which should really be a fixed height) to determine the height of the top <div>.
Is there a way to lay this out in CSS?
<div>should be sticking to the bottom of the page regardless of the total height (so that it still stays there when the top<div>is higher than the viewport and thus should get the scrollbar alone)? Or do you want to expand the top<div>to the bottom of the page if its content is smaller than the total height of the viewport? That makes quite a difference in the answers.