Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web app that is targeted to mobile devices. It displays fine on old devices with a screen size around 320px wide, but it displays as a little postage stamp in the corner of the screen on newer devices with higher screen resolutions.

I've been looking at browser capabilities files on the IIS config side and the viewport meta tag on the app dev side but I'm still not sure what I need to do to make sure that my app displays at a reasonable resolution on different mobile browsers. Anybody been through this problem?

share|improve this question

This is something that needs to be handled in code, not through IIS config. You'd be better off taking this over to

share|improve this answer

Configuring sites for mobile devices is something that is done in the code, rather than IIS, as each type of mobile devices has different capabilities. You can use API's like WURFL or the mobile device browser file for to determine the capabilities of the mobile device accessing the site and produce content to meet these capabilities, including screen size.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.