Ron Adams wrote:
I have 2 divs on a page, and the top one is an unknown size, the bottom
one must fill the rest of the space to the bottom of the browser window.
How do I do this with CSS?
A simplyfied example below.
You can't. Divs expand to the height of their content (plus padding and
margins), and no further. To fill a space, you need to put something of
that height inside the div, or set the div to that explicit height. If
you don't know the height, find a JavaScript script to do it for you.
Our WIKI has examples:
http://css-discuss.incutio.com/
--
Bob Easton
Accessibility Matters: http://access-matters.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/