How do I get Internet Explorer 5 to properly center my pages vertically?

Due to a bug in Microsoft Internet Explorer 5, that browser will not center vertically correctly within the constraints of XHTML 1.1. This means you must choose between XHTML compliance or IE5 compatibility. This problem does not affect horizontal centering.

If you decide that vertical centering that functions properly in IE5 is more important then it is relatively easy to work-around this problem.

If you open up any document created with SiteGrinder, you'll see the following first line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Just replace that line with this one:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

We will try to address this more elegantly in the future, but XHTML 1.1 compatibility is a major feature of SiteGrinder and if it performed the above step we could no longer make this claim.