DIV to fill 100% and have scrollbar
Posted: Fri Dec 10, 2010 11:50 am
I need to have a page with a fixed size header and footer, and the main content of the page to fill up whatever is left so that the entire page fills 100% of the browser. And, I need the main content to have overflow via a scroll bar, instead of making the footer go down, so that the header and footer are always visible on the page. Getting a pure CSS solution to have the middle fill the page was challenging, but I could never get the scrollbar, it just pushed the footer down. Now I am trying a mixture of tables (since the filling 100% is so simple) and css, but still no luck. Is this possible?
Here is my test page:
http://www.ratchetmedia.com/test.htm
Thanks!
Here is my test page:
http://www.ratchetmedia.com/test.htm
Thanks!