Posted By

allnatural on 08/18/10


Tagged

css iphone


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

roli000
jplr
michellebracken


Stylesheet Switcher for iPhone/Desktop


 / Published in: HTML
 

  1. <link rel="stylesheet" type="text/css" href="iphone.css" media="only screen and (max-width: 480px)" />
  2. <link rel="stylesheet" type="text/css" href="desktop.css" media="screen and (min-width: 481px)" />
  3. <!--[if IE]> <link rel="stylesheet" type="text/css" href="explorer.css" media="all" /> <![endif]-->

Report this snippet  

You need to login to post a comment.