Take a look at <meta name="viewport">. It supported a wide variety of mobile platforms, including (AFAIK) iPhone, Android, Blackberry, Opera Mobile, and even IE6 Mobile. In fact, it allows you to pre-set the width of the device, the zoom level and the maximum / minimum increase. Take a look at the Apple Developer site and learn more.
In addition, you can use CSS media queries to determine the shape and size of the browser and handle various layouts (etc.) accordingly. Again, they are pretty widely supported, and there is more information on the Apple Developer site .
source
share