A quick and easy way to load specific CSS based on the orientation of the viewing device (ie. iPad / iPhone).
Just put the following in your header and create the appropriate stylesheets.
<link href="portrait.css" media="all and (orientation:portrait)" rel="stylesheet"></link> <link href="landscape.css" media="all and (orientation:landscape)" rel="stylesheet"></link>
Comments
Post a Comment