Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 23, 2012 05:00 PM by roopeshreddy
Jun 20, 2012 09:14 PM|LINK
I'm trying to get my site to fit on some mobile devices more accurately. I've tried adding the following meta tag:
<meta name="viewport" content="width=device-width, height=device-height" />
However, in an iPad device the width is recognized and does a good job of resizing, but the height does not seem to do anything so the user can scroll down when they shouldn't be doing that.
Why does Safari no recognize the height parameter?
Jun 22, 2012 09:23 AM|LINK
Just try the following code!
<meta name="viewport" content="width=device-width" />
More info about META tag!
Hope it helps u...
Jun 22, 2012 02:32 PM|LINK
Thanks for the response.
I had tried that code previously with the same issue. I do understand that the height is calculated from the width parameter if nothing is set by default. That's what makes this issue even more perplexing.
I have tried the same code on other devices (ie. bb playbook) which works. It's the ipad that's failing. (its a ipad3 I'm testing on)
Jun 23, 2012 05:00 PM|LINK
Then you may have to use the fixed height, specifically for iPad!
Preparing your content for iPad!