automatic zoom on iphone safari

m33lky picture m33lky · Aug 3, 2009 · Viewed 16.2k times · Source

Is there a way for Mobile Safari to recognize a site meant for mobile phones and automatically zoom in? How does that work on other phones and browsers?

I'd like to avoid looking at user_agent and sending a different page for each mobile browser.

Answer

Simon Epskamp picture Simon Epskamp · Aug 3, 2009

See the configuring the viewport part of the Apple web-app developer guide.