Re: Center DIV

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 UTC