12/23/2009
Mobile Sites and the iPhone
Posted by
Mike Iskiw
There is one magic line that you need to remember to add to your Head Tag to get mobile sites to be displayed properly on the iPhone:
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0" />
This tells the iPhone browser that it shouldn't zoom out to try to fit a normal resolution screen and use the default resolution of the iPhone.
« Back to Blog Main Page |