...horizontally and vertically centered...
demo #1

Element with no declared height…

relevant article: fully centered across browser-land.
created by: G. Sørtun - www.gunlaug.no - 26.Mars.2007

All decent browsers will do just fine with regular CSS...

...but don't expect much of Internet Explorer,
although we can improve its performance quite a bit.