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

Reason why 'block-align' was never introduced?

From: Christian Roth <roth@visualclick.de>
Date: Thu, 30 Jan 2003 14:25:31 +0100
To: "www-style Mailing List" <www-style@w3.org>
Message-Id: <20030130132531.19823@mail.visualclick.de>


I was just facing the problem of centering a block element within a block
element (namely, the infamous table centering in a column). I browsed the
archives - though admittedly not thoroughly - and found the solution to
be { margin-left: auto; margin-right: auto; }. The articles were from
1997 and 1998.

Now, I am simply curiuous what the - probably historical - reason was to
not introduce a 'block-align: left | center | right' property (probably
as a convenient, easily understood and remembered shorthand for the
above, current solution) into CSS.

Thanks for sharing,
Received on Thursday, 30 January 2003 09:27:25 UTC

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