Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > fit page to window

Reply
Thread Tools

fit page to window

 
 
Roy
Guest
Posts: n/a
 
      01-07-2004
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


 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      01-07-2004
Roy wrote:
> 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

--
David Dorward <http://dorward.me.uk/>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: fit to window size =?Utf-8?B?SklNLkgu?= ASP .Net 1 01-17-2006 02:07 PM
Resize popup window to fit text Terren ASP General 4 09-29-2005 11:11 AM
Make wxListCtrl fit around contents and parent frame fit around listctrl Piet Python 0 07-18-2004 08:27 AM
Expand textarea to fit a window Steve Javascript 4 06-01-2004 02:07 PM
IE6 how to avoid image resizing to fit window?? ghiro HTML 20 05-14-2004 09:52 PM



Advertisments