Unknown spacing between items

Does anybody know why space occurs between #222 and green element?

It is due the the vertical alignment. Inline elements default to baseline, so you get a gap.
Use vertical-align: bottom on the logo.
Edit
Or you could just make it display: block if there is no good reason you have it as an inline-block.

4 Likes

Perfect! Thanks!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.