Don’t fear empty divs (and other semantic faux pas)

Cory Etzkorn / filed under HTML & CSS

An empty div with a height of 60px surrounded by two divs containing real content. Rendered, it looks like this:

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency