W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: position: center

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 27 Jan 2004 06:28:05 +0000 (GMT)
Message-Id: <200401270628.i0R6S5002050@djwhome.demon.co.uk>
To: www-style@w3.org

>    There already exists a way to center content horizontally using the
> text-align property and there needs to be a similar property that works

This centre justifies from that centres.  Horizontal centring is
achieved with automatic margins and a defined width.

> vertically, which accepts the four values: top, middle (or center?),
> bottom and justify.

The analogous behaviour to text align would be to align the text in
each rendered line in the vertical centre of that line, not to align
a whole block.

Aligning a block vertically requires a fixed height, removing a degree
of freedom, and therefore possibly forcing overflow behaviour when the
user overrides the font size.  Actually centering frustrates
incremental rendering or requires text to moved as it is rendered.
Received on Tuesday, 27 January 2004 04:42:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:11 UTC