N
Nathan Sokalski
The layout for my site is two primary areas: a title bar and a content area.
The title bar is a Panel with a fixed height. The content area is a Panel
that does not have a fixed height. I would like the content area to take up
the entire remaining height of the browser. This brings up two scenarios:
1. The content does not require the entire remaining height, which would
require setting the height to <browserheight>-<titlebarheight>
2. The content does require the entire remaining height or more, in which we
do not need to set the height at all
The first problem is determining what height is required by the content
area, since this can vary by browser. The second problem is determing the
browser height. Can anybody help me here? I have heard about the CSS
min-height property, but it is not yet supported by most browsers, so it
does not help me here. Thanks.
The title bar is a Panel with a fixed height. The content area is a Panel
that does not have a fixed height. I would like the content area to take up
the entire remaining height of the browser. This brings up two scenarios:
1. The content does not require the entire remaining height, which would
require setting the height to <browserheight>-<titlebarheight>
2. The content does require the entire remaining height or more, in which we
do not need to set the height at all
The first problem is determining what height is required by the content
area, since this can vary by browser. The second problem is determing the
browser height. Can anybody help me here? I have heard about the CSS
min-height property, but it is not yet supported by most browsers, so it
does not help me here. Thanks.