Should You Use Inline-Blocks As A Substitute For Floats?
What a great article! One interesting point that I had not noticed when using inline-block:
inline-blocks pick up html whitespace. If you have several inline-block elements each on a new line in your html they’ll display with a horizontal space between them. Floated elements will sit adjacent to each other, regardless of the html whitespace between them.
Leave a Reply