vid401t
06-06-2007, 01:49 PM
Hello Everyone,
I'm new here, I have this problem with this website that I cannot get worked out.
I'm creating a page that will expand vertically and horizontally.
Expanding horizontally isn't a problem, it's the vertical one that is.
To simplify the site I created, I'm just going to use 3 divs as an example.
I have a header div, which is a fixed height, b/c it uses banner images that I don't want to stretch.
Then there's the bottom div, which is basically another banner which I do not want to stretch.
Now here lies my problem, I want the middle content Div to stretch to fill the remaining space from the header and bottom div as the resolution changes or the browser is resized without generating the dreaded scrollbar
I know this is mixing fixed heights and percentages, which complicates things. Can this be done, where you have a fized size header and footer with a expanding middle to fit a browser window?
Thanks for any help
I'm new here, I have this problem with this website that I cannot get worked out.
I'm creating a page that will expand vertically and horizontally.
Expanding horizontally isn't a problem, it's the vertical one that is.
To simplify the site I created, I'm just going to use 3 divs as an example.
I have a header div, which is a fixed height, b/c it uses banner images that I don't want to stretch.
Then there's the bottom div, which is basically another banner which I do not want to stretch.
Now here lies my problem, I want the middle content Div to stretch to fill the remaining space from the header and bottom div as the resolution changes or the browser is resized without generating the dreaded scrollbar
I know this is mixing fixed heights and percentages, which complicates things. Can this be done, where you have a fized size header and footer with a expanding middle to fit a browser window?
Thanks for any help