Android 2.3 web-browser width

The web-browser in android render pages in 320 or 800 pixels, and doesn’t seem to be consequent about it. This is because of “viewport”, rendering pages in a virtual screen with larger width then the mobile screen has. Viewport makes sure rendering of non-mobile-sites doesn’t break.

JavaScript(requires jQuery) to check width:


Add this meta tag to always render in mobile native resolution:

Further reading: