On 8/30/05, Bob Easton [EMAIL PROTECTED] wrote:
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
No need for quirks mode, I don't think. Set html,body{height:100%} (as
well as your table) and you should be good to go in standards mode.
Hmmm why does html and body need a height? That is surely a hack.
I'll let others reply to the more specific height details of CSS, as I
can get
Ok, I'll throw it open to the CSS experts. Two divs:
divHeader/div
divlots of content/div
The requirement is that the header div must not scroll off the page,
it should remain fixed at the top of the page. The content div will
fill with content and should be scrollable vertically when
/table
/body
/html
On 8/25/05, Michael Landis [EMAIL PROTECTED] wrote:
On 8/24/05, andrew welch [EMAIL PROTECTED] wrote:
This works with IE in quirks mode, but not in Firefox or IE in
standards mode. The problem is setting the table to 100% high - IE in
quirks mode makes
Hi,
I'm trying to create the following structure:
header
body
...where the header is fixed, and the body is scrollable. The body
should resize to fill the available space. I'm trying to do it all
using HTML + CSS without javascript.
This is possible in IE apparently because IE treats 100%