To cope with what has already been said: WURFL, http://wurfl.sourceforge.net/ , Fi Universal Universal Resource FiLe is a device description repository (DDR), that is, a software component that maps HTTP request headers to an HTTP client profile ( Desktop, Mobile Device, Tablet, etc.) that issued the request.
One shortcut. Prepare 3 different layouts that will cover basic old phones, new color phones, and high-end phones and PDAs. This is a fairly simple task and at the same time gives excellent results. I would also look at this link. http://mobiforge.com/developing/story/introduction-wurfl
source share