Optimize Your Current Site for the iPhone - with One Line of Code
{ August 12th, 2007 }
If you're new here, you may want to subscribe to my RSS feed. Also, check out our iPhone Optimization Services or Request a Quote. Thanks for visiting!
Though Works On iPhone can redesign your current site to make it iPhone-friendly, there are a few quick and (relatively) easy things to do to your on your own to make it more visually appealing on the iPhone.
From Craig Hockenberry at furbo.org:
Want to make your site look better on the iPhone with one line of HTML?
It’s easy—just add a
<meta>tag that lets the iPhone know how wide to display the initial page. I added the following code to the<head>in my template yesterday:<meta name=“viewport” content=“width=808″ />Every browser besides MobileSafari will ignore this information. But it does something very important on the iPhone: it optimizes the viewport for your content.
Categories: Development ~ Tags: code, craig hockenberry, development, furbo.org, iphone, redesign, safari ~ Trackback











