Solved

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

Posted on 2011-03-23
2
415 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
Comment Utility
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
Comment Utility
Hi,

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now