W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: box-align

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 28 Apr 2011 10:14:27 -0700
Cc: Alex Mogilevsky <alexmog@microsoft.com>, www-style list <www-style@w3.org>
Message-Id: <7C61D2CE-ABA2-4C3B-9459-89119B8292E5@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

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.  ^_^


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC