Solved

How to fix the width/height of page to avoid zooming on iPhone?

Posted on 2011-03-23
2
420 Views
Last Modified: 2012-05-11
Hi,
I notice that my webpage is able to be zoomed on iPhone (using 2 fingers and swipe open) and there are some website out there that can't be zoomed. Is there any settings that i need to set on my page ?

Please advise
0
Comment
Question by:tangteng78
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 250 total points
ID: 35200287
add this
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />


0
 
LVL 11

Assisted Solution

by:SAMIR BHOGAYTA
SAMIR BHOGAYTA earned 250 total points
ID: 35200306
Hi,

<meta name="viewport" content="width=320" />
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no" />
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question