Jump to content

web page orientation


kel

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/199594-web-page-orientation/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.