Re: [css3-flexbox] box-align for vertical centering

On 04/13/2011 01:29 PM, Tab Atkins Jr. wrote:
>
> I've been discussing this with fantasai, and she hit upon the idea of
> exposing a box-align property which simply acts analogously to
> vertical-align on table cells, like people have been asking for
> forever.  It turns the element into a BFC and, if there's any free
> space in the length axis, aligns the contents appropriately.  It would
> be applicable to all elements, and in the case of flexbox specifically
> would accomplish the same thing that I was going to make padding:auto
> do.
>
> What do you think?

Wrt applying it to other elements, here are the minutes from that
WG discussion:

http://lists.w3.org/Archives/Public/www-style/2008Apr/0039.html
http://lists.w3.org/Archives/Member/w3c-css-wg/2008AprJun/0015.html

~fantasai

Received on Wednesday, 13 April 2011 20:42:55 UTC