Click here to Skip to main content
15,916,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All my Friends!!
Greetings..
I am Shashank from Bhopal M.P. and currently newly develop to Iphone e-commerce Webstore.actually i am facing one issue the issue is that how to set orientation in windows HTC iphone. the three case are 90,-90 and 0.

Shashank Kulshrestha
Web Developer
Bhopal M.P.(India)
Posted

hi shashank,
can you explain your problem actually all mobile device change orientation by it self only and browser also do the same the only thing web developer should take care : they should use fluid lay out for robust UI.

and if you wont to load css according to current device orientation then you can use CSS3 media query

XML
http://blog.cloudfour.com/ipad-orientation-css/


also check
http://css-tricks.com/the-perfect-fluid-width-layout/[^]
 
Share this answer
 
Hi vyas_pratik20684

Thanks for reply...

as you suggest CSS3 media query.my task is successfully completed. Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900