I'm creating my first responsive-design site and so far so good. It's almost done, but I've noticed something. It looks good on iPhone and I'm using media queries but when I view the site on my iPhone I can drag the whole layout side to side so far the I can make only the iPhone gray background show and then let go and the page springs back into place. I'd like the site to be rock solid so you can't move it side to side. When a user goes to scroll something the site is drifting side to side. Is there a way to eliminate this?
code-wise, I have too much to put it all here but basically I have my media query saying:
@media screen and (min-width: 320px) and (max-width: 674px) {
#page-wrapper {width:auto;margin:0 auto;padding:0 1em;}
}
I've tried changing all those values but to no avail.
in my <head> I have:
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
Thanks in advance for any help.
Rick



Reply With Quote

.



Bookmarks