How to work out how wide your web pages can be without causing bad usability through horizontal scrolling or printing problems.
Written by Philip Chalmers who is based in the Medway area of Kent, England, United Kingdom.
|
Factors which affect maximum page width
Browsers and operating systems |
The maximum width you can use without horizontal scrolling is not a simple number - it depends on several factors:
This discussion will focus on 800x600 pixels resolution:
Sadly they all differ. We're going to focus on Internet Explorer 4+ and Netscape 4+ on Windows and the Mac, because these account for the vast majority of users. But you need to check what your users use - especially if you expect them to access your pages from mobile devices!
Different combinations of browser and operating system have different default sizes for the margins round page content. The simplest solution is for you to set margins explicitly - version 4+ browsers allow this.
The browser's canvas is the area on which the browser will actually "paint" your page. Yes, it varies - no, there's nothing you can do about it. Fortunately the differences are very slight.
If you want to make your pages display without horizontal scrolling when viewed with Internet Explorer 4+ and Netscape 4+ on Windows and the Mac at 800x600, assume the maximum width is 723 pixels.
The next page describes things the user may do which affect the available width - usually reducing it!
webmonkey has a comprehensive review of factors affecting page size - height as well as width.