W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: Center DIV

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 4 Jul 2003 09:27:24 -0700 (PDT)
To: Afternoon <afternoon@uk2.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.56.0307040926020.9100@dhalsim.dreamhost.com>

On Fri, 4 Jul 2003, Afternoon wrote:
>
> I think it would still be useful to create objects that are exactly
> fitted to the vertical height of the browser window or output page.

Since in CSS2.1 the root containing block is the size of the viewport,
anchored at the origin, you can already do that simply by setting the
'height' property to '100%'.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 4 July 2003 12:27:03 GMT

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