Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Floats, flex box or in-line block Reply To: Floats, flex box or in-line block

#203127
josh
Participant

@Ricky55 display: table; allows you to position elements using some of the properties unique to tables. The two most significant are vertical centering and fluid widths.

The most reliable way to eliminate the white space that inline-block introduces is to comment out the space between the elements in your markup. For example:

<div class="col--50"></div><!--
--><div class="col--50"></div>