I've read elsewhere that browser sniffing like this is a bad idea as there could be both false positives and positive falses (do they exist? haha). If I do something based on screen size, it could become very long with the iPad, iPhone5, landscape, etc, etc.
3:33 pm on Jul 27, 2013 (gmt 0)
You may want to check this thread Why Do I Need A Mobile Website [webmasterworld.com]. It has some tips. You can also do a web search for open source device detection scripts.
4:00 pm on Jul 31, 2013 (gmt 0)
Div targeting Ipod... Iphone..
Put your CSS into a perl/php whatever script. Detect the device via user agent and print the right CSS, like:
If Ipod: display:block/inline/tablet, whatever suites your needs. If not ipod: display:none;