The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

style sheet for handheld devices

Not sure if this is the right forum for this post... How can you tell if visitors are accessing your site with handheld devices? I was thinking about marking up an alternative style sheet, but I was wondering how to tell if it's worth it at this point? Is there a different OS I should look for in the stats report? Thanks...

Not sure if this is the right forum for this post... How can you tell if visitors are accessing your site with handheld devices? I was thinking about marking up an alternative style sheet, but I was wondering how to tell if it's worth it at this point? Is there a different OS I should look for in the stats report? Thanks...

If you look in the HTTP headers you can search for "vnd.wap" in HTTP_ACCEPT and be pretty sure that you're serving pages to a WAP browser. As far as a client-side solution, Paul's link should help you out somewhat, but remember that mobile CSS is a battlefield that's about 100 times worse than screen CSS because there are so many providers and browsers.