Tuesday, July 08, 2008

Detecting Mobile Browsers- Applying CSS

In my previous articles on detecting mobile browsers, my scripts redirected the viewer to a mobile formatted page, such as the xfruits site I use for 2mlearn.mobi.

Greg at Brain Handles offers another suggestion, using the script to reformat a page using mobile detected CSS scripts. There are some challenges to his script, specifically for designers who aren't familiar with php scripting.

Personally, I prefer using the simpler script and having a completely customized page for mobile users. This way, you aren't just reformatting the content for mobile, but you can customize the content completely. The php script Greg offers, however, has advantages for internal users who want to reuse content that is simply reformatted instead of offering completely custom content for your viewers.

Click here to see Greg's suggested script.








No comments: