Question

I'm developing a site that needs to display nicely on a Windows Mobile device. For some reason, a standard <div> on a page always scrolls out to view the entire page, despite the contents being in the top left corner. Is there a way to have the screen zoom to a particular portion of the page automatically?

Was it helpful?

Solution

Have you tried to set the width and height atributes of the div element? Something like: <div style="width:250px; height: 250px;">Content</div>

P.S.: IMO a responsive design would be the best option.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top