Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Force Landscape for Tablets on Website

Posted on 2013-11-20
1
Medium Priority
?
467 Views
Last Modified: 2013-11-20
Is there a way to tell my website to lock in landscape mode when viewed by a tablet or mobile device?
0
Comment
Question by:Nathan Riley
1 Comment
 
LVL 41

Accepted Solution

by:
Eoin OSullivan earned 2000 total points
ID: 39663420
The short answer is NO.

The web browser on iOS - Safari or Chrome on Android or other browsers do not have the ability to "lock" the orientation as they are designed to work in either orientation.

You can detect the orientation of many mobile devices and put rules in the CSS to modify the layout (and even display a layer telling someone to hold their device in landscape mode.

body[orient="landscape"] or body[orient="portrait"] can be used in your CSS
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let Bitmoji into your life. Now is the time to learn a new language of smartphone messaging with this brief introduction.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question