This content has been marked as final.
Show 1 reply
-
1. Re: Prevent screen orientation
Sudarshan Thiagarajan Mar 15, 2013 5:51 AM (in response to matthew stuart)It is possible. If you don't write 100% divs. You can write a media-query with a min-width of minimal width on portrait to max-width of highest width on landscape. But it wont be very effective - you'll be wasting a lot of precious 'real estate' in landscape mode then.
Another big challenge is that not all models of tablets are same. Some are different. You also have 'small' tablets nowadays. The best thing to do is to write generic media-queries and let your device fetch its desired width selectors from your CSS.
You could get more insights here: http://css-tricks.com/snippets/css/media-queries-for-standard-devices/



