Re: Alignment property proposal

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:
> (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.)


L. David Baron                       
Mozilla Corporation             

Received on Tuesday, 6 November 2007 15:45:41 UTC