W3C home > Mailing lists > Public > www-style@w3.org > November 2012

Re: Any plans to add a method for suppressing white space between inline-block elements?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 26 Nov 2012 14:02:45 -0800
Message-ID: <50B3E705.6040301@inkedblade.net>
To: www-style@w3.org
On 11/24/2012 07:41 AM, François REMY wrote:
> Yes, we can probably use a flexbox with all flexibilities set to 0 and the wrap mode to get the same effect, but this is like
> “yet-another-hack”.

Actually, it's an intended use of Flexbox. In fact, the default
positive flex is 0 in order to make this easy.

> You also force the browser to do superflous layout operations since at the end you don't want flexibility at all. Sometimes,
> what you want is just a normal flow without those "code-formatting" spaces.

If you're using inline blocks to do layout, probably what you
really want is Flexbox. If you're using blocks, then you don't
have whitespace problems.

~fantasai
Received on Monday, 26 November 2012 22:03:20 GMT

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