W3C home > Mailing lists > Public > www-style@w3.org > August 2001

Re: problem with css-positioning

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 01 Aug 2001 17:43:52 -0400
Message-Id: <200108012143.RAA03060@no-knife.mit.edu>
To: "www-style" <www-style@w3.org>
> body { height: window; width: window }
> .navigation { position: absolute; left: 0px; width: 180px; top: 0px }
> .content { position: absolute; left: 185px; right: 5px; width: auto; top:
> 30px; bottom: 20px; height: auto }

how about just:

body { position: absolute; top: 0px; left: 0px; right; 0px; bottom: 0px;
       height: auto; width: auto; overflow: scroll; }

Which should have exactly the same effect as your proposed "{ height:
window; width: window }"

Disclaimer: I'm not a style expert; just someone using CSS.

Boris
-----------------
617-764-2453
-----------------
"Windows is packaged with Solitaire (ooh)! Linux is 
distributed with Doom ... you can have your deck of
cards, I'll take a chainsaw!" 

                  --- paraphrase from comp.os.linux.advocacy
Received on Wednesday, 1 August 2001 17:43:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT