Viewport questions

That was an old issue and is no longer a problem. You can ignore that as the bug was fixed a couple of years ago and my iphone4 does not render the page like that.

More serious problems will arise if you do not apply "width=device-width and initial-scale=1.0 just like this:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

See my post here for extensive tests on this issue and further confirmation can be found in tests run on the quirksmode site shown in a subsequent post in that thread.

Suffice to say you can be happy that the correct tag to use is the one I have shown above and don’t be tempted to modify it (or to stop users ability to scale by using maximum-scale).

3 Likes