locked
Auto resize screen on different Devices ??? RRS feed

  • Question

  • User-1679817008 posted
    Hi, I have a pocket PC website at the moment. But i know there is a technique to auto resize your page with each device. So you want to see my page with a Nokia 6600 you get a resolution of 176 by 208. When you want to see my page with a Orange SPV you get a resolution of 176 by 220. Can someone help me ??? Greetings, Bakhoven
    Thursday, June 3, 2004 2:49 AM

All replies

  • User2085740027 posted
    Hi, You can set the page resolution by changing the screenCharactersWidth, screenCharactersHeight, screenPixelsWidth, screenPixelsHeight property for the model u want to target in the machine.config file. You can use System.Web.Mobile.MobileCapabilities class to get the screen size.
    Thursday, June 3, 2004 6:02 AM