Re: problem with css-positioning

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 UTC