How to make your website display properly on iPhone and Android
Make sure your site works for mobiles
By Dori Smith | InfoWorld | Published: 10:30, 22 September 2010
You've long held off, but it's now time, even past time: You need to make your website mobile. Between what you see in the news and what your site logs reveal, it's clear that the number of people surfing the web from their mobile devices is growing by the day. Here are a few tips to help your site (and you) get up to speed in this new mobile world.
Addressing the device proliferation challenge
If you start off by panicking about all the cell phones you (and your family and your friends and your coworkers) have had over the years, and then ask yourself how you're going to support all those mobile OSes and models, rest easy.
The truth is that while mobile browsing is growing by the minute, virtually all that growth is from just a few devices, mainly those running Apple's iOS (iPhone, iPod Touch, and iPad) and Google's Android (used by HTC, Motorola, Samsung, and others in a bunch of models).
Related Articles on Techworld
Here's the proof: Quantcast's August data showed iPhone and iPod Touch together claim 56 percent, Android devices 23 percent, and RIM BlackBerry 10 percent. AdMob, which focuses on sites with ads, found similar results in its May survey PDF: iPhones accounted for 54 percent of usage (it doesn't track iPod Touches or iPads), Android devices for 33 percent and BlackBerry for just 7 percent.
The good news: The popular Apple and Android devices' browsers run on WebKit, the open source rendering engine, as do the less-popular WebOS-based Palm Pre and Pixi and the new RIM BlackBerry Torch.
The bad news: These devices come in all sorts of screen dimensions, as the table below shows.
|
Platform |
Device |
Screen dimensions |
|
Android |
HTC Tattoo, HTC Wildfire |
240 × 320 |
|
HTC Aria, HTC Hero, HTC Legend |
320 × 480 |
|
|
Google Nexus One, HTC Desire, HTC Evo, HTC Droid Incredible, Samsung Galaxy S |
480 × 800 |
|
|
Motorola Droid, Motorola Droid X, Motorola Droid 2 |
480 × 854 |
|
|
BlackBerry OS 6 |
BlackBerry Torch 9800 |
360 × 480 |
|
iOS |
Apple iPhone 3G/3G S, iPod Touch |
320 × 480 |
|
Apple iPhone 4 |
640 × 960 |
|
|
Apple iPad |
768 × 1,024 |
|
|
WebOS |
Palm Pixi |
320 × 400 |
|
Palm Pre |
320 × 480 |
The really bad news: Although all of these browsers run on WebKit, all of them run WebKit just a little differently. Peter-Paul Koch of QuirksMode ran 19 WebKit-based browsers through 27 tests and described the results as "thinly veiled chaos."





Comments
bobe2 said: Well thought out however out of date and innappropriate
Aman said: What a ridiculous article From the title I though there would be actual content rather than hand wavy jibber jabber