Horizontal centering is pretty easy. Vertical centering is not, since there is no definite way to forcing an element to float in the vertical center of another element. More or less, your easiest option is to create a 100% wide 100% high table and put align to center and valign to middle on its only cell. And no doctype. If all this is worth one dead center element, then use it, I know it is not for me.