Julian,
I know this problem... We tried several approaches of which the best
would be to use fixed positioning.
Finally we chose to use the following:
You need four absolute positioned divs.
body { height: 100%; }
div#header {
position: absolute;
top:0;
left:0;
height: n;
width:100%;
overflow: hidden|scroll;
}
div#left {
position: absolute;
top: n;
bottom: m;
left: 0;
width: l;
overflow: scroll;
}
div#right {
position: absolute;
top: n;
bottom: m;
left: l;
right: 0;
overflow: scroll;
}
div#footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: m;
overflow: hidden|scroll;
}
replace n,m,l with your favourite measures and choose between hidden
and scroll for header and footer overflows.
That will work just fine in Firefox and Opera (Didn't test it in
Safari). IE has some serious problems with absolute positioned
elements with top/bottom or left/right set. But you can compute the
height or width by using expression() and some Javascript. That will
even work if you use em instead of px, but it will be a bit more
difficult ;-)
regards
Martin
______________________________________________________________________
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/