Re: [css-d] simple problem - difficult solution

2005-08-30 Thread andrew welch
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

Re: [css-d] simple problem - difficult solution

2005-08-30 Thread andrew welch
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

Re: [css-d] simple problem - difficult solution

2005-08-30 Thread andrew welch
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

Re: [css-d] Difference in 100% height between IE and standards

2005-08-25 Thread andrew welch
/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

[css-d] div that resizes to height of window

2005-08-23 Thread andrew welch
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%