W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: breaking overflow

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 31 Dec 2009 12:57:29 -0600
Message-ID: <dd0fbad0912311057s697e8b32p6f57a43d51dba90@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: James Hopkins <james@idreamincode.co.uk>, Anton Prowse <prowse@moonhenge.net>, www-style <www-style@w3.org>, Niels Matthijs <niels.matthijs@internetarchitects.be>
On Thu, Dec 31, 2009 at 12:38 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Dec 31, 2009, at 9:50 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>> Specifically, one of the common uses for float-containment is to make
>> a <ul> properly wrap around its floated <li> children in a horizontal
>> nav menu.  This problem will be solved properly by Flexbox or its
>> successor.
> It's solved pretty easily by using 'display:inline-block' instead of floats.

In many cases, yes.  Not in all.  Frex, unless you code your HTML in a
very specific and bizarre way, you'll still have spaces between <li>s
caused by the whitespace in the code.  Sometimes that's good,
sometimes not.  Floating ignores that, as does flexbox.

Received on Thursday, 31 December 2009 18:57:56 UTC

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