Forums

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

Home Forums CSS Space between inline-block elements Reply To: Space between inline-block elements

#149716
Paulie_D
Member

The easiest way to remove space between inline-block element is to set the font-size of the** parent** element to .

You will, however, have to reset the font-size on the inline-block elements otherwise they will inherit the 0 size.

I’m not sure what the ’empty span’ is doing in there, it doesn’t seem to serve any useful purpose.

Tidied up some stuff: http://codepen.io/Paulie-D/pen/CueIs