Centering

In this example, we use padding and text-align to center the div element vertically and horizontally:

I am vertically and horizontally centered.