Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Software

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-17-2011, 07:23 AM
Richard Chao
Contributing Editor
Join Date: Feb 2011
Posts: 109
Default Manage The Presentation of Your Web Site With Viewport Tags

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.

 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:20 PM.