fit page to window

Discussion in 'HTML' started by Roy, Jan 7, 2004.

  1. Roy

    Roy Guest

    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
     
    Roy, Jan 7, 2004
    #1
    1. Advertising

  2. 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/>
     
    David Dorward, Jan 7, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SklNLkgu?=

    Q: fit to window size

    =?Utf-8?B?SklNLkgu?=, Jan 17, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    4,103
    =?Utf-8?B?Q2hyaXMgV3Vubg==?=
    Jan 17, 2006
  2. ghiro
    Replies:
    20
    Views:
    1,411
  3. Piet
    Replies:
    0
    Views:
    549
  4. Terren

    Resize popup window to fit text

    Terren, Sep 28, 2005, in forum: ASP General
    Replies:
    4
    Views:
    254
    Evertjan.
    Sep 29, 2005
  5. Steve

    Expand textarea to fit a window

    Steve, May 27, 2004, in forum: Javascript
    Replies:
    4
    Views:
    113
    Dr John Stockton
    Jun 1, 2004
Loading...

Share This Page