I'm currently developing a website that is designed to display best on iPad, but must display nicely on most mobile browsers.
I based the css on a width of 2048px, which is the pixel width of the iPad 3 when in landscape mode.
I then used the viewport meta tag as written below :
<meta name="viewport" content="width=2048" />
Having read the Apple documentation and the Android one regarding this topic, I was made to understand that a mobile browser first renders the webpage in a larger area defined by the viewport meta tag, then scales it down to match the device width.
This works very well on an iPad 2, but the width overflows on an iPhone, an iPhone Retina and a Galaxy Nexus. I didn't have the opportunity to test the website on an iPad 3.
How can this behaviour be explained?
If any detail were to be added on this issue, please let me know.
Thanks in advance for your help.