Go Back to Dynamic Site Solutions :: CSS

Center Page Content
Horizontally and Vertically
(without <table>s)

This method works in IE5+/Win, Firefox, Safari, Opera 5+, Netscape 6+, and Konqueror 3. It does not work in Netscape 4.x or IE/Mac. See the source code and the related links for information about how this is done without a <table>.

Update: I added a fix for the unnecessary scrollbars in IE7 issue.

Related Links:

Last update: 2008-04-23