cags Posted October 15, 2009 Share Posted October 15, 2009 I'm looking at creating a css file specifically for the iPhone. I'm just wondering the best option to select the css. I've had a quick look around and come up with... <link media="only screen and (max-device-width: 480px)" rel="stylesheet" type="text/css" href="iphone.css"/> Is this going to be the best method or should I use PHP to detect the user agent and link to the right css file for that user agent? Link to comment https://forums.phpfreaks.com/topic/177800-optimising-site-for-iphone/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.