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

Re: Horizontal alignment of blocks

From: Arthur Wiebe <webmaster@awiebe.com>
Date: Thu, 05 Jun 2003 16:56:35 -0400
Message-ID: <3EDFAE83.6010709@awiebe.com>
To: Josh Hughes <josh@deaghean.com>, www-style@w3.org

Josh Hughes wrote:

>>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.
>I don't naturally think of margins when aligning something, and I 
>certainly wouldn't assume that margin: auto means setting a block's 
>margin to half the remaining space of the parent element. If we want to 
>get people to stop using depreciated HTML attributes like "align", 
>having *intuitive* css equivalents makes sense.
>And even with margin: auto, it only works on the left and right sides. 
>For vertical alignment you have to emulate table behavior to reproduce 
>Have css "align" and "valign" properties (or some variation thereof) 
>and have them act exactly like the HTML counterparts. There wouldn't be 
>any confusion.
You're 100% right!
Received on Thursday, 5 June 2003 16:56:38 UTC

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