Amazon Webapp Cookbook

Force Orientaion
A sample app that is forced to run in a certain orientation.
Filling the screen with a div
An example of scaling a fixed-sized div to maximize the size regardless of the orientation of the device. This technique would be useful if you had a fixed-sized game that you want to use as much of the screen as possible regardless what device you were using.
Screen size detection in CSS
Example of detecting screen size in CSS and reacting to it.