How do I center my page in the browser?

Frequently Asked Questions about WYSIWYG Web Builder
Locked
User avatar
Pablo
 
Posts: 19293
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

How do I center my page in the browser?

Post by Pablo » Thu Jun 23, 2005 6:35 pm

Here are a few tips for the designing your web pages so they are displayed in the center of the browser window:
- Set the Page properties (for example) to 1024x768 (note that the height doesn't really matter).
- Add a vertical ruler guide and move it to position 1024.
- Make sure all page contents stays between the left border of the workspace and the ruler guide
- Enable 'Center to browser' in Page Properties

Note that all content of the page will be centered within the page width you've specified. So if the content if wider than 1024 pixels then you should also increase the page width properties.

Take a look at our templates how to use this method:
http://www.wysiwygwebbuilder.com/templates.html
Most of these templates stay centered in the browser window, no matter what window size or resolution.

Image

User avatar
Pablo
 
Posts: 19293
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: How do I center my page in the browser?

Post by Pablo » Mon Feb 18, 2013 10:08 am

See also this related FAQ: How to add full width header and footer to your pages?
viewtopic.php?f=10&t=32636

Locked

Who is online

Users browsing this forum: No registered users and 1 guest