Solved

Force Landscape for Tablets on Website

Posted on 2013-11-20
1
414 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:N R
1 Comment
 
LVL 39

Accepted Solution

by:
Eoin OSullivan earned 500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Save Password on Citrix Mobile Receiver 1 90
Saving battery power with emails 5 65
display iPhone Wifi network name 19 106
Missing number of chat in Whatapps icon 5 25
With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices. Find out how to create a mobile email signature with this guide.
For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
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…

832 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