Created
May 18, 2012 21:15
-
-
Save parkr/2727635 to your computer and use it in GitHub Desktop.
Re: iPhone CSS Detector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $stylesheet = (strpos($_SERVER['HTTP_USER_AGENT'],"iPhone")) ? "iphone.css" ? "default.css"; ?> | |
<link rel="stylesheet" href="/css/<?php echo $stylesheet; ?>" type="text/css" media="screen" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment