Using orientation in CSS is very simple with following snippet.

<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">
<link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">
Source: http://www.cloudfour.com/ipad-orientation-css/
 

Leave a Comment