So this declaration works fine for iOS 4 and 4.1, but not for older versions. Any advice?
@media screen and (device-width:320px) and (orientation:portrait) {
we use javascript to do this, in a similar way to this:
Can js/jQuery determine the orientation of the iPhone?