fit page to window

R

Roy

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
everything
Thanks

Roy
 
D

David Dorward

Roy said:
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
everything

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.

Try http://www.allmyfaqs.com/faq.pl?AnySizeDesign
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top