|
Tablets/Mobiles and responsive design
So one of my recent assignment was to create a responsive design for an already existent site. It was no big deal, I made CSS media queries, got it working nicely (enough) scaling from 1920 in width down to 320, accommodating for iPads and iPhones (on both portrait and landscape orientations).
The issue came up when i started the tablet/mobile testing. When I loaded a page on a device, it looked ok, and when I rotated the device from portrait to landscape, the page resized... but zoomed. I had to pinch zoom out to max size to get it to show up properly. It recorded the right dimensions, and the correct CSS was loaded, but it was zoomed in.
I tested out one of the sites the client was using to show us what they wanted (Maxim), and I noticed their site doesn't have that issue. I'm wondering if anyone has experience in development for tablet/mobile devices and might have thoughts as to how I can fix it. It only does it from portrait to landscape, maintaining showing 768px width, then forcing me to zoom out to 1024px. Since landscape to portrait shrinks it, it sizes fine. Do I have to give the body an explicit width? Is there a meta tag I'm not aware of that's necessary?
|