Centering vertically and horizontally with CSS
A chronological view of how content was centered in HTML in the past and now.

This article will show five different ways of centering vertically and horizontally with HTML+CSS, presented in chronological order: from how it was done in the past (which we should avoid now) to the modern ways of centering content in the present.