kel Posted April 24, 2010 Share Posted April 24, 2010 Hi I'm trying to develop a web page that is to be used on a tablet pc. As part of this I need to change the orientation of the page so that it can be used in portrait mode (assuming landscape is normal mode). So my question is, is this possible using css ? if not does anyone know of any other way (php, java etc) to hard code the orientation of a web page. The tablet will be using XP, so I guess a simple way around this would be to change the display settings here (may be my way out in the end :0) but the requirements that I've been given suggest that they want the orientation of the page itself changed - likely to be several users using this so I guess the XP alternative would be to somehow default the tablet to portrait regardless of who is logged on. Anyway, apologies for rambling Thanks kel Quote Link to comment https://forums.phpfreaks.com/topic/199594-web-page-orientation/ Share on other sites More sharing options...
wwfc_barmy_army Posted April 24, 2010 Share Posted April 24, 2010 It would depend on how the tablet acts, if it turns the browser around for you (like Iphone) then using percentages as widths will give that kind of effect. I know for iphone you can get a script that tells which way the orientation is, but iphone is the only one I know of that has this kind of script available. Quote Link to comment https://forums.phpfreaks.com/topic/199594-web-page-orientation/#findComment-1047721 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.