W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: Alignment property proposal

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 03 Dec 2007 17:48:57 -0500
Message-ID: <475487D9.8000007@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>, "w3c-css-wg@w3.org" <w3c-css-wg@w3.org>

L. David Baron wrote:
> On Tuesday 2007-11-06 07:15 -0800, Markus Mielke wrote:
>> Proposal:
>> It would actually be better to create a new property called:
>>
>> ' alignment'
>> Value:                                   left |center | right | inherit
> 
> This also needs to have 'start' and 'end'.

Second that.

> I'd propose one substantive change:  I think that it should affect how
> the element is aligned in its parent, not how the children are aligned
> within the element.

I agree. It makes a lot more sense this way.

> Second, I'd defer to the formal definition of computing heights and margins
> to define how it works -- and this definition would make this (inherited)
> property weaker than auto margins.
> 
> Thus I'd rewrite this as:
> 
>   This property describes how block boxes:
>     1. without 'auto' side margins, and
>     2. smaller than the width that would fit in their containing block
>   are aligned within their containing block when they have no 'auto'
>   margins.  This property aligns blocks by changing the margins that are
>   used in the section on <a
>   href="http://www.w3.org/TR/CSS21/visudet.html#Computing_widths_and_margins">computing
>   widths and margins.

I think that in this case a specified margin should act as a "minimum" margin.

~fantasai
Received on Monday, 3 December 2007 22:49:15 GMT

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