How can i stop rotation of the Iphone because it messes with my CSS so i want to stop that rotation landscape is there anyway to do it in Javascript ?
Asked
Active
Viewed 4,705 times
1
-
I'm guessing you can't control this, because the user might have already been in landscape orientation before he came to your website. But I don't know for sure. – Mike Morearty Mar 08 '11 at 05:45
1 Answers
3
I don't have enough reputation to just comment like I'd like to, but here's another similar question with some helpful answers (it doesn't look like there's really a way to do this in JavaScript): How do I lock the orientation to portrait mode in a iPhone Web Application?

Community
- 1
- 1

Ian Hunter
- 9,466
- 12
- 61
- 77