fit page to window

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi All
Need to know if there is a way to make a webpage fit to a users screen
resolution.  So when the user looks at the webpage the webpage will resize
to fit the users screen so they don't have to use the scroll bars to see


Re: fit page to window

Roy wrote:
Quoted text here. Click to load it

Unless you mean reducing the font-size (becuase otherwise there is no way to
ensure it will fit - what if the window is 100x100 and there are 10,000
words of text?), then browsers do this automatically (adding vertical
scrollbars if needed, and horizontal scrollbars if there is some very wide
content [such as a wide image]).

If you don't see this effect, then you are probably explicitly setting the
width of some element.


David Dorward                                      <

Site Timeline