Windows Phone Thoughts: Manage The Presentation of Your Web Site With Viewport Tags

Be sure to register in our forums! Share your opinions, help others, and enter our contests.


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...



Wednesday, March 16, 2011

Manage The Presentation of Your Web Site With Viewport Tags

Posted by Richard Chao in "Windows Phone Software" @ 11:23 PM

http://windowsteamblog.com/windows_...r-viewport.aspx

"As web browsing on mobile devices continues to grow in popularity, it's more important than ever to design mobile web sites that match the look and feel of native applications. One of the features provided by the browser in Windows Phone that helps with this task is programmatic control over the browser layout viewport."

Image courtesy of PCWorld.uol.com

In the beginning, mobile surfing meant wap browsers. As devices gained horsepower with ever increasing screen sizes and faster connections, web sites have transitioned from the aforementioned wap browser to mobile versions to desktop view. Users now have an expectation that when they go to a web site on their mobile device, the page will look like it does on their desktop and not be overly compressed. There is also an expectation that the page will re-flow smoothly and format correctly when transitioning from portrait to landscape view.

Fortunately for web designers, WP7 OS and its browser allows for programmatic control over the layout viewport. When a page is rendered in the WP7 browser, the default layout viewport width is always 1,024 pixels. The browser then determines the appropriate zoom level to fit the screen. Click read to see how you can use viewport to control the layout viewport width.


Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...

Reviews & Articles

Loading feed...

News

Loading feed...