Vertically Centered Elements


This post was originally published in 2010
It may contain stale & outdated information. Or it may have grown more awesome with age, like the author.

If you’re looking for a way to vertically center an element of unknown height within another element of unknown height, this guide is for you.

Vertical Centering in CSS

It provides a solution that works in all major browsers – yes even IE6.

I’ve used it, it works.

No comments | Trackback