radionuch
asked on
Detect Mobile Devices for Mobile CSS or Redirect to Mobile Site?
What's the best practice for supporting mobile devices accessing your web site? Should I detect the mobile device and redirect them to a mobile version of my web site or should I create a mobile CSS to support the differences. It seems that many smart phones today attempt to display a web site just as a desktop does.
Thank you,
The Nuch
Thank you,
The Nuch
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes "attempt" to display is the right word. I tested automatic redirection using the PHP package "php-mobile-detect" (http://code.google.com/p/php-mobile-detect/) then sent my web visitors on mobile devices to a new set of web pages. Those mobile web pages use the meta tag "viewport' which helped a lot. I'll try he media query. Looks interesting.
The Nuch