biggieuk Posted March 8, 2012 Share Posted March 8, 2012 I am developing a mobile specific version of a web site. I am using the following tags in the header which work for the iPhone: <meta name="viewport" content="width=device-width, user-scalable=no" /> However on an Android phone the initial view is zoomed in too close. Is there something i'm missing that can fix this problem? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/258521-mobile-specific-website/ Share on other sites More sharing options...
perrij3 Posted March 24, 2012 Share Posted March 24, 2012 This is the code that I used on a mobile website I just finished. The website I worked on works fine on a iPod, iPhone, iPad and Android devices. <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes" /> Hope this helps. Quote Link to comment https://forums.phpfreaks.com/topic/258521-mobile-specific-website/#findComment-1330826 Share on other sites More sharing options...
trq Posted March 25, 2012 Share Posted March 25, 2012 I also found setting initial-scale=1 works well. Quote Link to comment https://forums.phpfreaks.com/topic/258521-mobile-specific-website/#findComment-1330831 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.