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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.