[WSG] Mobile detection using CSS media queries

2011-05-03 Thread Caleb Wong
Hi, Is it safe to use just css media to target mobile devices such as iphone, blackberry, android phones? And assume if I'm only embedding 1 stylesheet with various media queries in it, would there be any lag in the page style load? Has anyone got some good examples/articles for targeting mobile

Re: [WSG] Mobile detection using CSS media queries

2011-05-03 Thread Russ Weakley
Hey Caleb, This is probably one of those case by case decisions. For some small sites, simple media queries may be fine. However, if you have a large site, or high levels of mobile traffic, you may want to consider more robust alternatives - such as device detection etc. This article is a

Re: [WSG] Mobile detection using CSS media queries

2011-05-03 Thread David Laakso
On 5/3/11 3:16 AM, Caleb Wong wrote: Hi, Is it safe to use just css media to target mobile devices such as iphone, blackberry, android phones? And assume if I'm only embedding 1 stylesheet with various media queries in it, would there be any lag in the page style load? Has anyone got some

Re: [WSG] Mobile detection using CSS media queries

2011-05-03 Thread Micky Hulse
Hi Caleb, You might find this site interesting/helpful: http://mediaqueri.es/ I plan on using that site as a reference when I re-build my work's website in the coming months. Good luck! Cheers, Micky *** List Guidelines:

Re: [WSG] Mobile detection using CSS media queries

2011-05-03 Thread Patrick H. Lauke
Also worth adding that mobile browsers generally lie about their width, so to get mediaqueries to be effective you need to get them to behave nice and report their real viewport dimensions (and, in the case of high-dpi devices on android, also need to tell them not to lie again with their dpi