- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 31 Dec 2009 12:57:29 -0600
- 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. ~TJ
Received on Thursday, 31 December 2009 18:57:56 UTC