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

Re: Horizontal alignment of blocks

From: Ben Godfrey <afternoon@uk2.net>
Date: Thu, 5 Jun 2003 16:58:23 +0100
To: www-style@w3.org
Message-Id: <8969224E-976E-11D7-99A1-00039317C0C4@uk2.net>


On Thursday, Jun 5, 2003, at 15:11 Europe/London, Matt wrote:

> Then I expect (and should) get a piece if text extending over the full 
> width of the screen *centre-justified* .
>
> In CSS the way to centre that DIV is to specify a width and specify 
> margin: 0 auto;. There is nothing _wrong_ with this syntax, the 
> programmers understand thatto centre a block the left/right margins 
> must be made equal, and the "web deyziners" use their software that 
> does this for them.
>
> As far as I can see, adding align: would *add* confusion because it is 
> ambigious as to what is being aligned, and unnecessary because there 
> is already a suitable method for aligning a block that fits in well 
> with the
> box model etc.

How about calling the property block-align instead?

Ben


(q)	Ben Godfrey?
(a)	Web Developer and Designer
	See http://aftnn.org/ for details
Received on Thursday, 5 June 2003 11:58:32 GMT

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