Why is this page zoomed out?

Discussion in 'iPhone' started by GFLPraxis, Sep 10, 2007.

  1. GFLPraxis macrumors 604

    GFLPraxis

    Joined:
    Mar 17, 2004
    #1
    So I was messing around and tried to shrink my Nintendo Games Database to fit on an iPhone's screen. I got it working, and it looks great in iphonetester.com on Safari 3 Beta...

    But when I get people to look at it on the iPhone, they report that it shows up zoomed out and they have to zoom in to see it. That's, obviously, inconvenient. Can anyone guess as to why it is doing that?

    http://www.nintendoplayers.com/iphone.php

    Thanks!
     
  2. FreeState macrumors 68000

    FreeState

    Joined:
    Jun 24, 2004
    Location:
    San Diego, CA
    #2

    you need to add this to the header:

    Code:
    <meta name="viewport" content="width=320, user-scalable=no">
    You can change the user-scalable to = yes if you want. That would make it so iPhone's can zoom in to sections of your design (in your case they could zoom into the cells of the table you are using), with it saying "no" your design will fill the screen of the iPhone by default and will not be zoom-able.


    For a lot more simple references check out Apples iPhone developer page: http://developer.apple.com/iphone/designingcontent.html
     
  3. GFLPraxis thread starter macrumors 604

    GFLPraxis

    Joined:
    Mar 17, 2004

Share This Page