Fighting the Space Between Inline Block Elements

Formatting links as a series of inline-block elements is an easy way to center align stuff e.g. a navigation menu. There’s one annoying issue and that’s the blank spaces that appear between elements. This article has several code examples that will remove the blank spaces from inline-block elements…

VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

What’s the Deal With Display: Inline-Block?

One interesting alternative to floats that people are turning to more and more lately is to set the display value of an element to inline-block. What does this do exactly? How is it like a float? How is it different? Let’s dive in and see what we can discover…

VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)