Separate CSS for iPhone
December 3, 2009
In order to have a separate CSS file for a web site when rendered on the iPhone (mobile Safari), use the following. Note the exception for IE, as it doesn't understand this stuff.
<link rel="stylesheet" type="text/css" href="iphone.css" media="only screen and (max-device-width: 480px)" /> <link rel="stylesheet" …