Posted by julian.bash on 09/23/07 22:21
On Sep 23, 11:38 pm, Bergamot <berga...@visi.com> wrote:
> julian.bash wrote:
>
> > #middle { height:100%; margin-top:100px; margin-bottom:100px; }
>
> Wouldn't that would make the total height 100% plus 200px?
>
> --
> Berg
You're right, this works for me:
body { margin:0; }
div { position:absolute; width:100%; }
#top { height:100px; }
#middle { top:100px; bottom:100px; }
#middle { height:expression(document.body.clientHeight-100); }
#bottom { height:100px; bottom:0; }
#bottom { margin-top:expression(document.body.clientHeight-100); }
--Julian
[Back to original message]
|