From: "Christopher Allen" <Christoph...@iPhoneWebDev.com>
Date: Fri, 29 Jun 2007 23:12:44 -0700
Local: Sat, Jun 30 2007 2:12 am
Subject: Re: posting from my iPhone... Problems with width of iPhone apps
On 6/29/07, David Cann <davidjc...@gmail.com> wrote:
> safari is assuming an 800px width. Anyone found a solution to this Since the iPhone does not have a "window", it has to decide what width > yet? to use when it first renders the page in the zoomed-out mode. By default it renders it in 980 pixels wide, which they said they found the be the best number for most web sites. My assumption is that this number was also picked as it is just a little over 3 times the width of the iPhone. (Note there is an exception, if you connect to a .mobi domain the iPhone defaults to a viewport of 320.) Often 980 is not the appropriate size -- for instance, some narrow My belief is that for a web page to be considered iPhone "friendly" If you give the hint <meta name="viewport" content="width=320" /> you Instead, you may be able to use one of the other choices for viewport, I think some experimentation is required as to what is the best I'd test this myself tonight, but because of an AT&T activation SNAFU, -- Christopher Allen You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||