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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.