Generic Help Icon

Changing the size of a webpage

You can change the height and width of a webpage by changing the dimensions of its content area (the main region of a webpage).

To change the size of a webpage's content area:

  1. If the Page Inspector isn't open, click Inspector in the toolbar (or choose View > Show Inspector), and then click the Page Inspector button.
  2. In the Page Inspector, enter new values in the Content Width and Content Height fields, and then press Return.
  3. Note: There are 72 pixels per inch (28.34 pixels per centimeter).

page inspector button

When your website visitors make their browser windows bigger, the size of the content area stays the same and more of the browser background shows.

The content area doesn't include the navigation menu, the header, or the footer. You can change header and footer height in the Page Inspector.

Tip: When printing, if a webpage doesn't fit on your paper, try reducing the page. Choose File > Page Setup and type a new number (such as 75) in the Scale field.

Related Topics

Changing the browser background

Moving objects around a webpage

Adding space above and below a webpage

Feedback IconWas this page helpful? Send feedback.