Fit to browser code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lorelei@ozconnect.net.au

    Fit to browser code

    Hey all,

    So, I'm attempting my first web site coded in HTML (and not using a
    web page editor thingy), and have encountered my first of what I
    expect to be many, many problems :-) I have my background image, and
    other images on the page, and I'm wondering if there is any way for
    the computer to detect the user's browser setting and adjust my page
    contents to fit their window. As in, if a user sees my site in a
    screen resolution of 800x600, the whole page fits that window with
    needing to implement scroll bars, and if someone else views the page
    in 1024x768, they see the page without needing scroll bars. Is there
    any way to do this without having to create 2 or 3 completely
    different sites for the specific screen resoultion? Did any of the
    above make sense? :-) If I should be looking for a javascript, where
    can I find it? Or if it would be better off as a flash site, how the
    hell do I do that?!?! :-) I'm new to this world of coding, whether it
    be simplistic HTML or something far more sinister. Help would be very
    much appreciated.

    Thanks!!!!
    ~L.
  • David Dorward

    #2
    Re: Fit to browser code

    lorelei@ozconne ct.net.au wrote:
    [color=blue]
    > I'm wondering if there is any way for
    > the computer to detect the user's browser setting and adjust my page
    > contents to fit their window.[/color]



    --
    David Dorward http://dorward.me.uk/

    Comment

    • Thor Kottelin

      #3
      Re: Fit to browser code



      lorelei@ozconne ct.net.au wrote:
      [color=blue]
      > So, I'm attempting my first web site coded in HTML (and not using a
      > web page editor thingy)[/color]

      Your statement doesn't make sense to me. Maybe you're confusing a markup
      language with an application.
      [color=blue]
      > I'm wondering if there is any way for
      > the computer to detect the user's browser setting and adjust my page
      > contents to fit their window.[/color]

      Yes. <URL:http://www.htmlhelp.co m/faq/html/all.html#screen-size>

      Thor

      --

      Comment

      • Daniel R. Tobias

        #4
        Re: Fit to browser code

        lorelei@ozconne ct.net.au wrote:
        [color=blue]
        > and I'm wondering if there is any way for
        > the computer to detect the user's browser setting and adjust my page
        > contents to fit their window. As in, if a user sees my site in a
        > screen resolution of 800x600, the whole page fits that window with
        > needing to implement scroll bars, and if someone else views the page
        > in 1024x768, they see the page without needing scroll bars.[/color]

        Yes... just let HTML and browsers' renditions of it do what comes
        naturally, instead of trying to force a particular size on it. No need
        to "detect the user's browser setting"... text will re-wrap to the
        window width by default if you don't do something that prevents this.

        --
        == Dan ==
        Dan's Mail Format Site: http://mailformat.dan.info/
        Dan's Web Tips: http://webtips.dan.info/
        Dan's Domain Site: http://domains.dan.info/

        Comment

        • Eric Jarvis

          #5
          Re: Fit to browser code

          lorelei@ozconne ct.net.au wrote:[color=blue]
          >
          > I'm wondering if there is any way for
          > the computer to detect the user's browser setting and adjust my page
          > contents to fit their window.
          >[/color]

          html does this by default as long as you don't do anything dumb to stop it
          doing so

          --
          eric

          "live fast, die only if strictly necessary"

          Comment

          • EightNineThree

            #6
            Re: Fit to browser code


            <lorelei@ozconn ect.net.au> wrote in message
            news:olfiov4fu2 4tni8fs6580omfd ql8uhqtao@4ax.c om...[color=blue]
            > Hey all,
            >
            > So, I'm attempting my first web site coded in HTML (and not using a
            > web page editor thingy), and have encountered my first of what I
            > expect to be many, many problems :-)[/color]

            Not the least of which are the struggles you have with the nomenclature.
            ;-)


            --
            Karl Core

            At times one remains faithful to a cause only because its opponents do not
            cease to be insipid.
            Friedrich Nietzsche

            eightninethree AT eightninethree. com


            Comment

            • endlesscam

              #7
              Re: Fit to browser code

              Daniel R. Tobias wrote:
              [color=blue]
              > lorelei@ozconne ct.net.au wrote:
              >[color=green]
              >> and I'm wondering if there is any way for
              >> the computer to detect the user's browser setting and adjust my page
              >> contents to fit their window. As in, if a user sees my site in a
              >> screen resolution of 800x600, the whole page fits that window with
              >> needing to implement scroll bars, and if someone else views the page
              >> in 1024x768, they see the page without needing scroll bars.[/color]
              >
              > Yes... just let HTML and browsers' renditions of it do what comes
              > naturally, instead of trying to force a particular size on it. No need
              > to "detect the user's browser setting"... text will re-wrap to the
              > window width by default if you don't do something that prevents this.
              >[/color]
              <body BG image=""> ,but you need to compr. this first to make your web-
              site faster.(and uploaded ftp the image too)

              Comment

              Working...