Center Page Content
Horizontally and Vertically
(with a <table>)
This method works in IE4+/Win, Opera 5+, Netscape 6+, Firefox,
Konqueror 3, and Safari. It does not work in Netscape 4.x or IE/Mac.
It sort of works in IE5/Mac if you use JavaScript to set
<body>'s height and width. This way may be simpler
than the way to do it without using a <table>
element but is not semantically correct, so I would encourage you to
use that way instead of this way. See the related links for information
about how this can done without a <table>.
Related Links: