- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sat, 20 Apr 2013 22:50:59 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Tim Leverett <zzzzbov@gmail.com>, "www-style@w3.org" <www-style@w3.org>
* Tab Atkins Jr. wrote: >On Fri, Apr 19, 2013 at 11:05 AM, Tim Leverett <zzzzbov@gmail.com> wrote: >> <div class="images"> >> <img src="/path/to/image1.jpg" alt="lorem ipsum" /> >> <img src="/path/to/image2.jpg" alt="lorem ipsum" /> >> <img src="/path/to/image3.jpg" alt="lorem ipsum" /> >> </div> >> >> By default, these images will display each separated by a space character. >> If the desired effect is to not have spaces between the images, the markup >> needs to be changed, > >Nah, just use MOAR FLEXBOX: > >.images { > display: flex; > justify-content: center; >} > >DONE. ^_^ An author who thinks about the problem in terms of how to control the handling of the space character is quite likely to look up the `white- space` property for a solution. Using "flexbox" for this sounds quite a bit like "Why does auto attribute for margin not work vertically?", unless it ends up being a really big hammer in authors' toolboxes. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Saturday, 20 April 2013 20:51:24 UTC