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

Re: problem with css-positioning

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 1 Aug 2001 14:46:07 -0700 (Pacific Daylight Time)
To: Daniel Hiester <alatus@earthlink.net>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.WNT.4.31.0108011442040.800-100000@HIXIE.netscape.com>
On Wed, 1 Aug 2001, Daniel Hiester wrote:
>
> I think it would be quite useful to designers, increase the popularity of
> CSS positioning, and promote better-structured HTML documents, if setting
> the 'height' property for the root element to 'window' sets that to be the
> root element to be the height of the window. The height of the root element
> would /not/ increase with the height of the document, but it would be
> scrolled using the overflow property. Same for width. For example:
>
> 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 }

Already possible:

   body { position: fixed; top: 0; left: 0; bottom: 0; right: 0; }

-- 
Ian Hickson                                            )\     _. - ._.)   fL
Invited Expert, CSS Working Group                     /. `- '  (  `--'
The views expressed in this message are strictly      `- , ) -  > ) \
personal and not those of Netscape or Mozilla. ________ (.' \) (.' -' ______
Received on Wednesday, 1 August 2001 17:45:24 GMT

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