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 08:33:38 -0700 (PDT)
To: David Woolley <david@djwhome.demon.co.uk>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.56.0307040831150.9100@dhalsim.dreamhost.com>

On Thu, 3 Jul 2003, David Woolley wrote:
>
> ["how do i center vertically"] seems to imply proposals similar to
> these:
>
> 1) CSS should have some macro properties that do things more like
>    the CENTER element in GUI HTML, rather than having to specify in
>    terms of lower level operations.
>
> 2) CSS should have a mechanism that allows material of unknown vertical
>    extent to be centered in the viewport.

Yes to both. The WG intends to address this. We're concentrating on CSS2.1
at the moment though.

The current proposal would make it as simple as:

   body { position: center; }

We just need someone to write the proposal up formally, which won't be
done while we're working on 2.1.

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

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