

Karen Menezes

Blog | Assorted | Online Footprint

@me | @web-portfolio

karen.menezes@gmail.com

Year
2020
Jan
2019
Jul
2018
May
2016
Aug Jan
2015
Jul Mar
2014
Dec Nov Oct Jun Apr Jan
2013
Dec Oct Aug Jun May Jan
2012
Dec Nov Sep Aug
Categories
Code Ecology
Floats, Inline Block or Display Table? Or Flexbox?

on 13 April, 2014

Most grids and front-end frameworks I've seen insist on floats for all layouting. But sometimes, you don't want floats... You may occasionally be better off with inline-block, rarely display-table, and if your browser support is ideal, flexbox. Let's look at some advantages and disadvantages of popular layouting methods for responsive sites.

The Inline-Block Conundrum – Part 2

on 30 August, 2013

This articles covers 3 use cases where inline-block layouting forms a good solution. Fluid image grids, horizontally centered menus and borders on elements are discussed.

The Inline-Block Conundrum – Part 1

on 16 June, 2013

It’s somewhere in-between inline and block. And it’s often precisely what you need.
When nothing else can cut it, display: inline-block does the job.
Of course, it doesn’t come without its share of quirks. Let’s tackle the eccentricities a little down the road…