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

Re: Alignment property proposal

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 6 Nov 2007 10:45:25 -0500
To: "www-style@w3.org" <www-style@w3.org>, "w3c-css-wg@w3.org" <w3c-css-wg@w3.org>
Message-ID: <20071106154525.GB31238@ridley.dbaron.org>

On Tuesday 2007-11-06 15:37 +0000, Ian Hickson wrote:
> On Tue, 6 Nov 2007, Markus Mielke wrote:
> >
> > Problem:
> >
> > Allow centering of content within a containing block. Today, we only 
> > have text-align: center available that only applies to text and inline 
> > elements. This makes general centering of elements (like images) really 
> > difficult.
> 
> We already have a detailed and powerful proposal for this:
> 
>    http://lists.w3.org/Archives/Public/www-style/2004Jan/0218.html
> 
> (I think that's the most recent version of that proposal. I may be 
> mistaken.)

I think the motivation for this proposal is to be able to reflect
anything that HTML can do into CSS.  Without this, CSS can't
describe the behavior of HTML's <center> or <div align="center">
without a good bit of difficulty.

This is different from what the proposal above is trying to address.
Solving this should not require using the absolute positioning model.

(And, frankly, I'd rather see what your proposal solves addressed
by a flexible box model.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 6 November 2007 15:45:41 GMT

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