Hi Bill,

> At best, any configuration will be fragile in a cross browser setting.
> You could increase its robustness if you used known heights for the
> header and footer, which I gather is not something you want. If I were
> asked to code this for a client, I'd use a simple JavaScript, which
> could accomplish it quite easily.

You got it... we can't use fixed heights in any way. We are trying a pure
CSS solution, so the browser would take care of everything. 

The fact is that a JavaScript solution is not as simple as it seems. Due to
the way CKEditor is dynamically created inside pages, it happens that the
DOM structure is created even before the CSS that styles it is available.
All that happens after the page load event. So, even if we use JavaScript to
calculate the heights on the fly, the header and footer blocks sizes will
suddenly change after the CSS is loaded and applied. Also, changes may
happen even at the editor runtime, and depending on the window resize event
is not enough for it. That's why we have a desperate need for CSS only.

Not considering the way CSS works, but instead aiming to have CSS working
for the real world needs, I still find it a basic need that the current CSS
standards are simply missing. Even today using fixed heights, the solutions
are only CSS "hacks". It's not even clear if the so rich CSS3 will provide
any tool in this sense, but this is off topic right now.

I still have hope!

Fred


______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to