iPhone Screen Orientation: Portrait and Landscape :: CSS, JavaScript and XHTML Explained

… use the onOrientationChange method to change the class of your body based on the page’s orientation.

via » iPhone Screen Orientation: Portrait and Landscape :: CSS, JavaScript and XHTML Explained.

Advertisements
Tagged