Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » General Web Development Discussions

Discuss general web development related issues. For Opera bugs, use the Bug Report Wizard: https://bugs.opera.com/wizard/. For Opera feature requests and queries, use Desktop wish-list: http://my.opera.com/community/forums/forum.dml?id=24.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By Saturn2888 anchor Thursday, 25. June 2009, 16:24:58

avatar

Wanting to force "Mobile View"

Is there any way to force mobile view for when a user goes to the mobile version of my site? Since I can't figure out why it's making them scroll left/right even though the content fits right in perfectly, I wanna somehow force people using Mini or Mobile to have the Mobile View turned on only when viewing my site so things show up as I've been testing them. That way I don't have to worry about them having to scroll because there's some odd issue where the site is about 40px longer than what I can see.

Thanks!

P.S. Opera Mini and Mobile display in the same resolution. If it wasn't for that this wouldn't be so big of a deal.

By zibin O anchor Wednesday, 1. July 2009, 14:47:18

avatarHow about utilizing the viewport meta tag in Opera Mobile?

This should give users the preset height and width when they browse your site

<meta name = "viewport" content = "width = device-width, height = device-height" />

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom