Reputation: 767
Am a php developer and am contructing a website that use in Iphone, Android. The design is ok with Iphone, but in Android its just defaultly zoom out when i loaded the page and can not take my project with this properly. Anyone have any idea about this?
Upvotes: 2
Views: 354
Reputation: 33502
This meta should do the trick:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Edit:
Try adding these to the code (source):
<meta content='True' name='HandheldFriendly' />
<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' />
<meta name="viewport" content="width=device-width" />
Upvotes: 2