Codesnipp.it Social Code Sharing

Amber Weinberg

How Do I Prevent The iPhone From Zooming In When Rotating in Safari?

by Amber Weinberg on Aug 20, 2010

/* Website mockups are located here: http://amberweinberg.com/clients/audible/ Client wants the user to have the ability to zoom in, but to display the site as zoomed out on load. For that, I used the meta tag: <meta content="width=device-width; initial-scale=.95;" name="viewport"> However, if you rotate the phone into landscape mode, it zooms in...is there a way to show the site zoomed out in landscape mode without disabiling user zoom? */

Can't see the comments? Please login first :)