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

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
tangteng78Asked:
Who is Participating?
 
Gurvinder Pal SinghConnect With a Mentor Commented:
add this
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />


0
 
SAMIR BHOGAYTAConnect With a Mentor Freelancer and IT ConsultantCommented:
Hi,

<meta name="viewport" content="width=320" />
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no" />
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.