ThomasJSmart
Programmer
- Sep 16, 2002
- 634
Is this possible in xhtml 1.1 ?
1. The site is 980px wide and centred horizontally
2. There is a header that is 200px high
3. There are 3 columns for content, each has its own colour and fills the space between header and footer.
4. There is a footer that is 30px high.
5. when the browser window is stretched or shrank the footer stays at the bottom of the window and the 3 columns stretch or shrink to keep the space between header and footer filled.
6. when 1 of the columns has lots of content that goes off-screen the other 2 columns automatically get the same height as the filled one. the footer goes off-screen and stays at the bottom of the 3 columns.
I have managed to make this layout without the 3 columns filling the height.
I have made this layout using tables.
I have made this layout using JavaScript.
but I just cant get it to work in pure CSS and divs...
Help?!?
Thank you
site | blog | aplis |
1. The site is 980px wide and centred horizontally
2. There is a header that is 200px high
3. There are 3 columns for content, each has its own colour and fills the space between header and footer.
4. There is a footer that is 30px high.
5. when the browser window is stretched or shrank the footer stays at the bottom of the window and the 3 columns stretch or shrink to keep the space between header and footer filled.
6. when 1 of the columns has lots of content that goes off-screen the other 2 columns automatically get the same height as the filled one. the footer goes off-screen and stays at the bottom of the 3 columns.
I have managed to make this layout without the 3 columns filling the height.
I have made this layout using tables.
I have made this layout using JavaScript.
but I just cant get it to work in pure CSS and divs...
Help?!?
Thank you
site | blog | aplis |