I did some research into viewport issues on iPod and iPhone 4 Safari, but I can't find the answer to this question. There are several topics about issues going from portrait to landscape, but not from landscape to portrait. The problem is this:
I had a normal zoom problem when moving from portrait to landscape, so I added the tag:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
So this problem has been fixed. NOW, when I return to portrait mode, the page I made has stretched out and it appears with the right edge added. This makes the page wider, so you need to scroll left to get the original position of the page (assuming that it retains a new โright marginโ).
Sorry if someone already answered this, but I just could not find an answer to this problem.
Let me know if additional information is required. Keep in mind my first question: /
Thanks!
EDIT: I am running iOS 6 and getting this problem. When I launch my page on iOS 5.1.1, it displays correctly, so this may be a new version of the error in the viewport that has been fixed earlier.
source share