How Wide Do You Want Your Page Content to Be

Q

How Wide Do You Want Your Page Content to Be? - CSS Tutorials - Page Layout and Background Image Design

✍: FYIcenter.com

A

How wide do you want your page content to be? This seems to be a simple question. But not really. Below are some potential answers. None of them is ideal:

  • "I want my page width equal to the screen width." This is good for visitors with smaller screen. But your page will look ugly on those very wide screen.
  • "I want my page width to be fixed to 10 inches." This stops your page to grow with the screen size. But you will have trouble to satisfy visitors with different browser resolutions. Let's say you put an image of 1200 pixels wide on your page. This image will be displayed perfectly as 10 inches on a 120DPI browser, but it will be displayed as 13.33 inches on a 90DPI browser. Your page layout will be damaged.
  • "I want my page width to be fixed to 1000 pixels." This is good to maintain the page layout. But your page physical size will vary depending on browser's resolutions. Your page will be displayed as 8.33 inches on a 120DPI browser, and 11.11 inches on a 90DPI browser.

Comparing all 3 answers, the last one seems to be best. And most popular Web sites do fix their page widths to pixel numbers.

2007-05-11, 4699👍, 0💬