Hello all, I have a page with a div in it which has a width of 320px. I have my viewport set up as follows;
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable = no" /> When I load my page in the iphone simulator in portrait mode it loads just like I want it. The div loads with a width of 320px and safari can't scroll horizontally. However when I switch to landscape (meaning the viewport gets a width of 480px, right?) that same 320px div is now scaled in such a way that it spans the entire horizontal width, 480px and now it can scroll horizontally. How can I prevent this so that it loads the 320px div just like in portrait mode with the rest 160px just white space and still no horizontal scroll? All help is appreciated :) -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
