2010 Best Places to Work      Give us a call 888-856-2664
Get a Quote Today

Things a Chameleon Would Say

Web design

Disable zooming on the iPhone’s browser
By: Ryan Wright 09/08/2010

The iPhone has many cool features that help to increase ease of use and productivity. One such feature is ‘pinch and zoom’. It allows the user to quickly zoom in or out of the desired portion of a web page. Another interesting feature is the auto zooming of input fields in Safari. When the user taps the input field the browser automatically zooms in onto the input field. While this may be great for a regular website being viewed on the phone, it might be undesirable for dedicated iPhone web apps.

At first glance, one would probably think that using CSS or JavaScript to control the zooming would be the solution. However, this is not the case. Apple has implemented a special META tag to handle this.

<meta content=”width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;”/>

Other mobile browsers are implementing this as well, including the upcoming Mobile Firefox(Fennec) for the Android OS. This should help to make it easier to design sites with consistent behaviors across multiple mobile browsers.

2 Responses to “Disable zooming on the iPhone’s browser”

  1. 51 Website Design May 28, 2011

    Thank you. I’m new to mobile web development. I’ve been looking for the fix to this issue for a long time now.

  2. Wren December 15, 2011

    Thanks for posting this. I’m using it in a presentation on why a client should switch developers.

    The developer dropped this bit of code into their mobile site and unfortunately that means their content is unreadable. A mobile site that you can’t read! It’s amazing.

    Great way to show how you understand usability and your competition would rather flaunt design that renders a client’s site totally unusable.

    I can see how it’d be useful for some apps, but it’s such an incredible headache for people who want to zoom-in to read.

Leave a Reply




Have a Question? Need a Quote?

Drop us a line or give us a call at 888-856-2664

Your Name (required)
Your Email (required)
Phone (required)
Your Message

What Our Clients Are Saying

John,
Can I just tell you how impressed I am with your team?! This whole process has been so great and working with you guys has made it SOOOO much easier! Thank you for all your hard work and for convincing us to choose Accella.

SO THRILLED!!

Alycia White
Kubota

Recent Posts

Apple iOS 5 Tech Talks - What Accella Took Away

I had the opportunity to attend Apple's iOS 5 Tech Talks on January 23rd in...

Building Tablet Apps for the Enterprise: The Time Has Come

Having a background in rugged mobile devices and seeing the advantages that...