From: Chris <chris.mess...@gmail.com>
Date: Sun, 01 Jul 2007 11:27:47 -0700
Local: Sun, Jul 1 2007 2:27 pm
Subject: Re: posting from my iPhone... Problems with width of iPhone apps
For some background on the 'viewport', I posted this to Brent Simmons'
iPhone group (http://lists.ranchero.com/listinfo.cgi/iphone- ranchero.com): The "viewport" is actually part of canvas, which is what WebKit Whereas the canvas is everything else: "The canvas is the part of the This is from: http://annevankesteren.nl/2004/05/viewport-canvas-root Here's the definition on the W3 site.. it's actually part of the http://www.w3.org/TR/CSS21/visuren.html#q2 There's more here from a WWDC tutorial: > Default view port width is 390px. It's easy to get too narrow if you're not careful. Need to specify viewport property. <meta name="viewport" content="widget=320" /> http://www.atomictypewriter.org/read.php/WWDC07_Apple_Developer_Confe... > Six view port properties that can be set. > width, height, initialscale, user - scalable ... > We'll need to take advantage of -"WebKit":http://webkit.org/-text-size-adjustment to make things legible after double tap. -wgetkit-text-size-adjust:none|auto|percentage Anyway, that should give you some idea of what's going on. I find it Chris On Jun 30, 9:59 am, dvogel <dlvo...@gmail.com> wrote: > I just tried creating an inital page with just and iframe set to 320 x
> 320 for the content and using the viewport(width=320) and it works > like a champ. > On Jun 29, 6:09 pm, David Cann <davidjc...@gmail.com> wrote: > > I've tried both 100% and 320px wide, but neither is working. I think 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.
| ||||||||||||||