0
When using display: inline-block
and the elements (div, span, etc.) have spaces between them, the browser (not only firefox) add 4px
space between elements, this is something that has been discussed for many years and has not implemented a CSS property that removes this using inline-block, but there are several ways to solve this.
Some of them:
Leave no spaces between elements:
<div>div inline-block 1</div><div>div inline-block 2</div>
Comment on spaces
<div>div inline-block 1</div><!--
--><div>div inline-block 2</div>
Using negative margins, etc...
For more information see this post:
https://css-tricks.com/fighting-the-space-between-inline-block-elements/
What I currently use that for me is the best option, is an Adobe source called Adobe Blank, that removes this "Carectere", then you declare in the parent div the Adobe Blank font, and in the daughters Ivs you declare the font you wish.