W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-page] Flexbox algorithm for page-margin box layout

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 25 Mar 2013 10:53:27 -0700
Message-ID: <CAAWBYDBNNVutixtS47Y=KLQbgifZjF2VkJNL8FTR4h9yXoj-_Q@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
On Mon, Mar 25, 2013 at 6:06 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Is it possible with such a setup to have @top-center be centered by default,
> even if all three boxes all have a different amount of content, but still
> roughly distribute the space proportionally to the amount of content?

These two constraints seem to be contradictory.

But no, you can't guarantee that the central item will be centered,
unless you can guarantee that the two outer items are equal-size.

~TJ
Received on Monday, 25 March 2013 17:54:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT