Center and maximize pages

Added by Crend King@userstyles, Created: Apr 13, 2009, Updated: Apr 30, 2009
With the style applied


Center all pages, including pages with single image, and try to maximize the page if possible. You can disable either centering or maximization by commenting or deleting corresponding code lines (read comments).

Comparing to Center all pages style (, it provides much better compatibility to various sites. It has the effect as Center Images Horizontally and Vertically style ( on the image-only pages (borrowed code from that style). Thanks Heisenberg's Cat!

However, I still cannot guarantee this CSS is correctly effective on every page. Some web sites require additional ad hoc tweaks. Tell me if you find any compatibility issue or such web site, and I will try to fix it.

1.1.5 on 04/24/2009:
- Bug fix for centering image page.

1.1.4 on 04/21/2009:
- Remove "!important" property from top-level tweaks for higher compatibility (and of course less effect).

1.1.3 on 04/19/2009:
- Change margin property to se

You should to add comment and rate the style.


+ Create discussion

Applies to:
http, https

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.