To horizontally center a block element (like div), use margin: auto;
Note: Using margin:auto will not work in IE8, unless a !DOCTYPE is declared.
I am vertically and horizontally centered.