Center horizontally & vertically

Izaan's Avatar, Join Date: Oct 2007
Skilled contributor
Can we achieve centering horizontally and vertically but with no predefined height with pure CSS/XHTML?
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Do you want something like ? When you re-size the browser, it automatically centers itself.

If you want something like that, take a look at this tutorial :