Id like to apply the stylesheet exclusively to the iPhone without having to crawl the browser (via the user agent string) on ββthe server or through JavaScript.
I especially do not want Internet Explorer to use a stylesheet. Apples have suggested code for applying a specific iPhone stylesheet, that is:
<link media="only screen and (max-device-width: 480px)" href="small-device.css" type= "text/css" rel="stylesheet">
seems to be causing styles to apply to IE 7 and 6.
source share