Re: box-align

On Apr 28, 2011, at 9:12 AM, Tab Atkins Jr. wrote:

> On Tue, Apr 26, 2011 at 7:28 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>> On Apr 25, 2011, at 11:06 PM, Alex Mogilevsky wrote:
>>> So the meaning of box-align is to do what table cells do with 'vertical align', with same values, right? But it is still just about alignment in block direction?
>> 
>> Perhaps it could take two values, one for horizontal and one for vertical (if only one value is given, then it sets both to the same thing). The horizontal value would be like the <center> tag, centering children of the block.
> 
> I think this is a good idea, yeah.  Alex and dbaron both agree, so
> you're in good company.  ^_^
> 

Cool.

Given that <center> has an inline effect too (like text-align:center), maybe 'vertical-box-align:center' (or whatever we call it) should also have an inline effect vertically (like vertical-align:middle for inline boxes).

Received on Thursday, 28 April 2011 17:15:09 UTC