<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>IE for Windows Phone Team Weblog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/iemobile/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/iemobile/feed.xml</link>
    <description>Information about Internet Explorer for Windows Phone</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:02:08 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Movin’ On Up</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/movin-on-up</link>
      <pubDate>Thu, 17 Mar 2011 18:02:12 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2011/03/17/movin-on-up/</guid>
      <description><![CDATA[I wanted to take a moment to thank all the readers of this blog over the last year for their...]]></description>
      <content:encoded><![CDATA[<p>I wanted to take a moment to thank all the readers of this blog over the last year for their interest in IE on Windows Phone, and let all of you know that we’re packing up the truck and moving to a new site.</p>  <p>Now that Windows Phone has been in the market for several months and we’ve built up some good momentum around the platform (10,000 apps and more than 30,000 registered developers!) we thought it would be a great time to officially move our blog over to the <a href="https://windowsteamblog.com/windows_phone/b/wpdev/" target="_blank">Windows Phone Developer Blog</a>. We’ve already posted some new information, so come and join us in our new home!</p>  <p><a href="https://windowsteamblog.com/windows_phone/b/wpdev/" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/2021.image_3C4B9D9B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/2021.image_5F00_3C4B9D9B.png" width="694" height="168" /></a></p>  <p>We made this decision for several reasons. First, it makes sense for us to have one central place where we disseminate developer-related information regarding Windows Phone. Second, the blog infrastructure that we’re moving to is much more modern – each one of us will be able to post under our own names and we’ll get much better distribution across our content network. Third, new developers are much more likely to find us there than under a separate, unrelated site, so our discoverability will improve.</p>  <p>For the moment, we’re going to leave the existing content in place so that we don’t break any links or bookmarks, but all new content will be posted at our <a href="https://windowsteamblog.com/windows_phone/b/wpdev/" target="_blank">new blog address</a>. We’re looking forward to continuing the conversation with all of you at our new and improved location!</p>  <p>Joe Marini   <br />Principal Program Manager    <br />Internet Explorer, Windows Phone    <br /><a href="https://twitter.com/joemarini" target="_blank">@joemarini</a></p>]]></content:encoded>
    </item>
    <item>
      <title>IE9 Coming to Windows Phone in 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/ie9-coming-to-windows-phone-in-2011</link>
      <pubDate>Mon, 14 Feb 2011 09:19:47 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2011/02/14/ie9-coming-to-windows-phone-in-2011/</guid>
      <description><![CDATA[By now, you’ve probably heard today’s announcement at this year’s Mobile World Congress that we are...]]></description>
      <content:encoded><![CDATA[<p><font size="2">By now, you’ve probably heard today’s announcement at this year’s </font><a href="https://www.mobileworldcongress.com/"><font size="2">Mobile World Congress</font></a><font size="2"> that we are bringing </font><a href="https://www.beautyoftheweb.com/"><font size="2">IE9</font></a><font size="2"> to Windows Phone later this year. If not, you can read and learn more about the announcement </font><a href="https://windowsteamblog.com/windows_phone/b/windowsphone/archive/2011/02/14/accelerating-the-windows-phone-ecosystem.aspx"><font size="2">here</font></a><font size="2"> and </font><a href="https://www.microsoft.com/presspass/features/2011/feb11/02-14MWC.mspx"><font size="2">here</font></a><font size="2">.</font></p>  <p><font size="2">Having the same core browsing engine on both Windows Phone and Windows Desktop is a dramatic step forward for our Web developer platform. We have worked closely with the </font><a href="https://blogs.msdn.com/b/ie"><font size="2">IE9 team</font></a><font size="2"> to ensure that mobile Web developers can take advantage of the same benefits that IE9 brings to the desktop – hardware-accelerated HTML5 graphics and video, rich support for today’s modern Web standards like CSS3, Geolocation, DOM Storage, SVG, HTML5 Canvas and video, and ECMAScript 5, and the ability to create highly interoperable sites and Web applications using the principle of “same markup”.</font></p>  <p><font size="2">We didn’t stop there, of course – we made sure that mobile Web developers can use the must-have mobile technologies they’ve come to rely on, such as full support for the Viewport tag, data:// URIs, and rich implementation of CSS Media Queries. With IE9 on Windows Phone, Web developers will be able to build highly engaging, interoperable Web sites across the mobile and desktop spectrum.</font></p>  <p><font size="2">In the coming months, we’ll have much more to say about IE9 on Windows Phone, and we’re very much looking forward to continuing the conversation with all of you and hearing your feedback. The entire team is incredibly excited about the work we’ve done and we can’t wait for all of you to be able to enjoy the fruits of our labor and begin creating incredible mobile Web sites on Windows Phone!</font></p>  <p><font size="2">Joe Marini     <br />Principal Program Manager, Windows Phone      <br /><a href="https://twitter.com/joemarini">https://twitter.com/joemarini</a></font></p>]]></content:encoded>
    </item>
    <item>
      <title>Managing the browser viewport in Windows Phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/managing-the-browser-viewport-in-windows-phone-7</link>
      <pubDate>Fri, 21 Jan 2011 07:17:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2011/01/21/managing-the-browser-viewport-in-windows-phone-7/</guid>
      <description><![CDATA[As web browsing on mobile devices continues to grow, having sites that are designed to be used on...]]></description>
      <content:encoded><![CDATA[<p>As web browsing on mobile devices continues to grow, having sites that are designed to be used on phone and that match the look and feel of other applications on the device becomes more important every day.&#160; </p>  <p>In this post I would like to expand on what Joe wrote a few months ago about the <a href="https://blogs.msdn.com/b/iemobile/archive/2010/11/22/the-ie-mobile-viewport-on-windows-phone-7.aspx">mobile viewport support on Windows Phone</a><em>, </em>but before getting started though I would like to introduce myself; My name is Jorge Peraza and I’m a Program Manager on the Windows Phone Browser team and I’m happy to come back as an active blogger now on the IE Mobile’s team blog. </p>  <h3>Between Screens, Windows and Viewports… </h3>  <p>Once upon a time, when browsers only lived on desktop computers, the web content “canvas” (a.k.a. the area on the screen that the web site can draw things on) was tied nicely with the size of the browser window which is convenient, predictable and works very well.&#160; Then the rich mobile browsers grew in functionality to the point where the same sites could be displayed on the mobile screen as well… unfortunately for us that old model did not work really well since phone screens generally have a smaller pixel count and are primarily held in portrait.&#160; The end result was that the layout of a number of sites was “compressed” as you can see here:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/5241.cats_27A11DBF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/5241.cats_5F00_27A11DBF.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="cats" border="0" alt="cats" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/6724.cats_thumb_6B28A914.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/6724.cats_5F00_thumb_5F00_6B28A914.png" width="451" height="498" /></a></p>  <p>The solution was to decouple the “canvas” from the window into a “Layout viewport” used to for all layout calculations and the “Visual viewport” used to represent the visible portion of the site.</p>  <p>PPK has a very interesting post <a href="https://www.quirksmode.org/mobile/viewports2.html">on this topic</a> for more details. </p>  <h3>Controlling the viewport</h3>  <p>On Windows Phone 7 all sites, by default, have a layout viewport of 1024 pixels wide; the browser then selects the appropriate zoom level that is needed so the layout viewport fits horizontally the screen before rendering any content.&#160; This is what gives the user a “thumbnail” view of the website when it is initial loaded.</p>  <p>Developers and designers have control over the layout viewport width by utilizing a special META tag called&#160; <em>viewport</em>.&#160; If this tag is present the browser will assume the content is optimized for mobile so it will also disable all the optimization the browser makes to enhance the readability of desktop sites,&#160; <em>this means that the content will be rendered exactly as specified by the markup.</em></p>  <p><strong>Note: </strong>The height of the document is always calculated based on the phone orientation and the desired viewport width so it is at least a tall as the visual viewport.</p>  <p>Now, lets dig in into the details on how this tag works on WP7.&#160; First lest create an HTML document with four rectangles of different sizes as follows:</p>  <pre class="csharpcode"><span class="kwrd">&lt;!</span><span class="html">DOCTYPE</span> <span class="attr">html</span> <span class="attr">PUBLIC</span> <span class="kwrd">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span> <span class="kwrd">&quot;https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">html</span> <span class="attr">xmlns</span><span class="kwrd">=&quot;https://www.w3.org/1999/xhtml&quot;</span><span class="kwrd">&gt;</span>

<span class="kwrd">&lt;</span><span class="html">head</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">meta</span> <span class="attr">content</span><span class="kwrd">=&quot;text/html; charset=utf-8&quot;</span> <span class="attr">http-equiv</span><span class="kwrd">=&quot;Content-Type&quot;</span> <span class="kwrd">/&gt;</span>
<span class="kwrd">&lt;</span><span class="html">title</span><span class="kwrd">&gt;</span>Viewport Test<span class="kwrd">&lt;/</span><span class="html">title</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">style</span> <span class="attr">type</span><span class="kwrd">=&quot;text/css&quot;</span><span class="kwrd">&gt;</span>
.auto-style1 {
    font-size: large;
    color:white;
}
<span class="kwrd">&lt;/</span><span class="html">style</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">head</span><span class="kwrd">&gt;</span>

<span class="kwrd">&lt;</span><span class="html">body</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">style</span><span class="kwrd">=&quot;position:absolute;top:0px;left:0px;width:1024px;height:1024px;background-color:gray&quot;</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">p</span> <span class="attr">style</span><span class="kwrd">=&quot;text-align:right&quot;</span> <span class="attr">class</span><span class="kwrd">=&quot;auto-style1&quot;</span><span class="kwrd">&gt;</span>1024px<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">style</span><span class="kwrd">=&quot;position:absolute;top:0px;left:0px;width:480px;height:480px;background-color:green&quot;</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">p</span> <span class="attr">style</span><span class="kwrd">=&quot;text-align:right&quot;</span> <span class="attr">class</span><span class="kwrd">=&quot;auto-style1&quot;</span><span class="kwrd">&gt;</span>480px<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">style</span><span class="kwrd">=&quot;position:absolute;top:0px;left:0px;width:320px;height:320px;background-color:maroon&quot;</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">p</span> <span class="attr">style</span><span class="kwrd">=&quot;text-align:right&quot;</span> <span class="attr">class</span><span class="kwrd">=&quot;auto-style1&quot;</span><span class="kwrd">&gt;</span>320px<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">style</span><span class="kwrd">=&quot;position:absolute;top:0px;left:0px;width:240px;height:240px;background-color:navy&quot;</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">p</span> <span class="attr">style</span><span class="kwrd">=&quot;text-align:right&quot;</span> <span class="attr">class</span><span class="kwrd">=&quot;auto-style1&quot;</span><span class="kwrd">&gt;</span>240px<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">body</span><span class="kwrd">&gt;</span>

<span class="kwrd">&lt;/</span><span class="html">html</span><span class="kwrd">&gt;</span></pre>

<p>This document when loaded on Windows Phone 7 will look like this:</p>

<p><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/7384.1024_19527F02.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/7384.1024_5F00_19527F02.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="1024" border="0" alt="1024" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/5722.1024_thumb_04808682.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/5722.1024_5F00_thumb_5F00_04808682.png" width="380" height="715" /></a></strong></p>

<p><strong></strong></p>

<h4><strong>Specifying a constant viewport size</strong></h4>

<p>When your site is designed for a specific viewport width, having a hard-coded value on the viewport tag will always produce the expected behavior independently of which device or screen orientation used to access it.&#160; The browser will adjust the initial zoom factor so the content is fit to the specific device visual viewport.</p>

<p>For example, on the example site if we use:</p>

<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">meta</span> <span class="attr">name</span><span class="kwrd">=&quot;viewport&quot;</span> <span class="attr">content</span><span class="kwrd">=&quot;width=320&quot;</span> <span class="kwrd">/&gt;</span></pre>


<p>The site will look like this on portrait:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/0535.320_33168F64.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/0535.320_5F00_33168F64.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="320" border="0" alt="320" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/2086.320_thumb_17255A6C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/2086.320_5F00_thumb_5F00_17255A6C.png" width="385" height="718" /></a></p>

<p>And, after rotating the device to landscape, the content is <em>zoomed-in</em> to allow the viewport width to remain constant:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/0435.320_landscape_07C1D290.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/0435.320_5F00_landscape_5F00_07C1D290.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="320_landscape" border="0" alt="320_landscape" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/4743.320_landscape_thumb_08D6BBAF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/4743.320_5F00_landscape_5F00_thumb_5F00_08D6BBAF.png" width="715" height="383" /></a></p>

<p>but if we change the tag to be:</p>

<pre class="csharpcode">&lt;meta name=<span class="str">&quot;viewport&quot;</span> content=<span class="str">&quot;width=480&quot;</span> /&gt;</pre>


<p>The page will instead look like this:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/4743.480_7AB7CCB1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/4743.480_5F00_7AB7CCB1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="480" border="0" alt="480" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/6403.480_thumb_7EE1A476.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/6403.480_5F00_thumb_5F00_7EE1A476.png" width="380" height="712" /></a></p>

<h4>Dynamic viewport sizing </h4>

<p>To allow IE to select the viewport size you can use the special value ‘<em>device-width</em>’.&#160; This value tells the browser that the site is designed to handle multiple resolutions and will be ready to change its layout on the fly as a result of orientation changes.&#160; </p>

<p>Internally Windows Phone 7 will resolve device-width to&#160; 320px when on portrait and 480px on landscape.&#160; Those values were chosen because the majority of mobile web sites currently deployed were not ready to scale to the higher DPI screens we use on our phones which will the experience for our end users less than ideal.&#160; This is consistent with how other platforms are doing this today though I would encourage all web developers to only use dynamic sizing if their site can scale to different device configurations.</p>

<p>Lets put this to practice now by modifying the viewport META tag to use dynamic sizing</p>

<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">meta</span> <span class="attr">name</span><span class="kwrd">=&quot;viewport&quot;</span> <span class="attr">content</span><span class="kwrd">=&quot;width=device-width&quot;</span> <span class="kwrd">/&gt;</span></pre>


<p>And then load it on Windows Phone:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/4130.320_2DE3E04E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/4130.320_5F00_2DE3E04E.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="320" border="0" alt="320" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/1513.320_thumb_5FFB0ACB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/1513.320_5F00_thumb_5F00_5FFB0ACB.png" width="385" height="718" /></a></p>

<p>And after rotating the screen we the document gets resized as expected:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/6886.ls_6EE239E5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/6886.ls_5F00_6EE239E5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="ls" border="0" alt="ls" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/6283.ls_thumb_19DA27EB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/6283.ls_5F00_thumb_5F00_19DA27EB.png" width="713" height="383" /></a></p>

<h3>Alternative ways for changing the size of the viewport</h3>

<p>Windows Phone 7 will also automatically resize the layout viewport if it determines that the content would be better rendered as a mobile optimized page. This include sites that use the <a href="https://en.wikipedia.org/wiki/XHTML_Mobile_Profile">XHTML Mobile profile</a>, use the <em><a href="https://msdn.microsoft.com/en-us/library/bb431690.aspx">MobileOptimized</a> </em>or the <em>HandheldFriendly </em>META tags.</p>

<p>As always, any feedback is appreciated and also, please let us know if there are any topics you would like us to cover on the near future = ]</p>

<p>Jorge</p>]]></content:encoded>
    </item>
    <item>
      <title>Targeting mobile-optimized CSS at Windows Phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/targeting-mobile-optimized-css-at-windows-phone-7</link>
      <pubDate>Wed, 08 Dec 2010 15:33:15 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/12/08/targeting-mobile-optimized-css-at-windows-phone-7/</guid>
      <description><![CDATA[There have been several posts on how to style sites for mobile devices.&#160; These approaches all...]]></description>
      <content:encoded><![CDATA[<p>There have been several <a href="https://www.alistapart.com/articles/responsive-web-design/">posts</a> <a href="https://www.vcarrer.com/2010/07/bulletproof-css3-media-queries.html">on</a> <a href="https://www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/">how</a> <a href="https://www.quirksmode.org/blog/archives/2010/08/combining_media.htm">to</a> style sites for mobile devices.&#160; These approaches all use CSS3 Media Queries.&#160; As many of the articles point out, not all mobile browsers support this feature.&#160; The Windows Phone 7&#160; browser's base functionality is built on Internet Explorer, which does not support CSS3 Media Queries until Internet Explorer 9.&#160; The browser team's primary goal in the initial release of Windows Phone 7 was to ensure any site designed for Internet Explorer would render correctly and then add optimizations where we could to enable mobile scenarios.&#160; Some examples of these additional features can be seen in Joe's <a href="https://blogs.msdn.com/b/iemobile/archive/2010/05/10/javascript-and-css-changes-in-ie-mobile-for-windows-phone-7.aspx">post</a>.     <br /></p>  <h2>Getting reacquainted with an old friend: IE Conditional Comments</h2>  <p>Conditional Comments have been part of Internet Explorer since version 5.&#160; They enable developers to include or exclude lines in the HTML document based on a features existence or version.&#160; On Windows Phone 7 we have added a &quot;IEMobile&quot; feature.&#160; Its version information matches the mobile token in our user agent string introduced <a href="https://blogs.msdn.com/b/iemobile/archive/2010/03/25/ladies-and-gentlemen-please-welcome-the-ie-mobile-user-agent-string.aspx">here</a>.&#160;&#160; </p>  <p><font face="Courier New">&lt;!--[if IEMobile]&gt;      <br /></font><font face="Courier New">&lt;p&gt;Welcome to Internet Explorer Mobile.&lt;/p&gt;      <br /></font><font face="Courier New">&lt;![endif]—&gt;      <br /></font><font face="Courier New">&lt;![if !IEMobile]&gt;      <br /></font><font face="Courier New">&lt;p&gt;All other browsers&lt;/p&gt;      <br /></font><font face="Courier New">&lt;![endif]&gt;</font></p>  <p>The first block will display &quot;Welcome to Internet Explorer Mobile&quot; only on Windows Phone 7 devices.&#160; The second block will display &quot;All other browsers&quot; on Internet Explorer, Firefox, Webkit, or Opera. This is because the second block is a downlevel-revealed comment, instead of the more common downlevel-hidden type.&#160; More information on conditional comments is available on <a href="https://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx">MSDN</a>.</p>  <p>In the example above, the conditional comments surround HTML content.&#160; While it is possible to use conditional comments on HTML, script, or CSS the remainder of this post will focus on the CSS case.&#160;&#160; <br /></p>  <h2>Mixing it up with queries and comments</h2>  <p>Add a couple lines where you include your mobile style sheet to add Windows Phone 7 support to your site. </p>  <p><font face="Courier New">&lt;!—Mobile --&gt;      <br /></font><font face="Courier New">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;mobile.css&quot; media=&quot;screen and (max-device-width: 480px)&quot; /&gt;      <br /></font><font face="Courier New">&lt;!--[if IEMobile 7]&gt;      <br /></font><font face="Courier New">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;mobile.css&quot; media=&quot;screen&quot;&#160; /&gt;      <br /></font><font face="Courier New">&lt;![endif]--&gt;</font></p>  <p>A caveat to this method is that some of your mobile webkit CSS might not work on Internet Explorer and need to be tweaked.&#160; Also this does not provide a mechanism to support import style media queries like below since conditional comments are only supported in the HTML markup not in CSS files.</p>  <p><font face="Courier New">@media screen and (max-device-width: 480px) { div {border:none;}}</font></p>  <p>One advantage of this approach is that unlike media queries, which download all the referenced style sheets even if the criteria is not met, conditional comments are part of the parsing stage and anything excluded from parsing will not be downloaded later. </p>  <p>Adding a conditional comment for Windows Phone 7 to a solution such as the one proposed in &quot;<a href="https://www.vcarrer.com/2010/07/bulletproof-css3-media-queries.html">Bulletproof CSS3 Media queries</a>&quot; would enable you to target Webkit based smartphone browsers, Windows Phone 7, and a large range of desktop browsers.</p>  <p>Mike O'Malley    <br />Program Manager     <br />Windows Phone</p>]]></content:encoded>
    </item>
    <item>
      <title>The IE Mobile Viewport on Windows Phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/the-ie-mobile-viewport-on-windows-phone-7</link>
      <pubDate>Mon, 22 Nov 2010 09:53:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/11/22/the-ie-mobile-viewport-on-windows-phone-7/</guid>
      <description><![CDATA[One of the main challenges involved with mobile Web development is getting content to lay out...]]></description>
      <content:encoded><![CDATA[<p>

</p>
<p>One of the main challenges involved with mobile Web development is getting content to lay out correctly on screens of varying sizes. Over the years, browser vendors have invented a variety of ways to allow developers to control how browsers lay out content, usually using a custom &lt;meta&gt; tag. </p>
<p>First among these was the HandheldFriendly tag, used initially by older Palm models as well as browsers like AvantGo, which has the format:</p>
<p class="style1">&lt;meta name=&rdquo;HandheldFriendly&rdquo; content=&rdquo;true&rdquo; /&gt;</p>
<p>This tag indicates to the browser that the page has been laid out by the developer to be viewable on a small screen, and that the browser should not attempt any further layout enhancements. While somewhat effective, it does not offer any granular control over the layout width &ndash; it&rsquo;s just a true/false flag.</p>
<p>Microsoft addressed this particular problem when it came up with the MobileOptimized tag for the PocketPC:</p>
<p class="style1">&lt;meta name=&rdquo;MobileOptimized&rdquo; content=&rdquo;320&rdquo; /&gt;</p>
<p>The MobileOptimized tag allowed the developer to inform the mobile browser of the screen width that the page had been optimized for (in this case 320). While an improvement over the simpler HandheldFriendly tag, it still doesn&rsquo;t offer much control over the layout, especially for devices that have different screen widths.</p>
<p>Today, most modern mobile Web browsers use the Viewport &lt;meta&gt; tag, which allows Web developers to give explicit instructions to a mobile browser regarding how a page should be laid out and respond to user manipulation. The Viewport tag has the format:</p>
<p class="style1">&lt;meta name=&rdquo;Viewport&rdquo; content=&rdquo;width=320; user-scaleable=no; initial-scale=1.0&rdquo; /&gt;</p>
<p>The&nbsp; Viewport tag provides the following settings to allow the developer more fine-tuned control over the content&rsquo;s layout:</p>
<table cellpadding="0" cellspacing="0">
<tbody>
</tbody>
<thead>
<tr>
<th width="161" valign="top" style="color: #ffffff;background-color:#333333">Viewport Property </th><th width="371" valign="top" style="color: #ffffff;;background-color:#333333">Width </th>
</tr>
</thead>
<tbody>
<tr>
<td width="161" valign="top">
<p>width</p>
</td>
<td width="371" valign="top">
<p>Sets the width of the viewport, in pixels, or the keyword &ldquo;device-width&rdquo;, which means whatever the width of the device screen is. The range is from 320 to 10,000.</p>
</td>
</tr>
<tr>
<td width="161" valign="top">
<p>height</p>
</td>
<td width="371" valign="top">
<p>Sets the height of the viewport, in pixels, or the keyword &ldquo;device-height&rdquo;. The range is from 480 to 10,000.</p>
</td>
</tr>
<tr>
<td width="161" valign="top">
<p>user-scalable</p>
</td>
<td width="371" valign="top">
<p>Indicates whether or not the user can scale the viewport, or in other words whether or not they can zoom in and out within content. Values can be &ldquo;yes&rdquo; or &ldquo;no&rdquo;. The default and recommended value is &ldquo;yes&rdquo;.</p>
</td>
</tr>
<tr>
<td width="161" valign="top">
<p>initial-scale</p>
</td>
<td width="371" valign="top">
<p>Sets the initial scale of the Viewport*. Allowable values are 0.1 to 10.0</p>
</td>
</tr>
<tr>
<td width="161" valign="top">
<p>minimum-scale</p>
</td>
<td width="371" valign="top">
<p>Sets the minimum allowable scale of the Viewport*. Allowable values are 0.1 to 10.0</p>
</td>
</tr>
<tr>
<td width="161" valign="top">
<p>maximum-scale</p>
</td>
<td width="371" valign="top">
<p>Sets the maximum allowable scale of the Viewport*. Allowable values are 0.1 to 10.0</p>
</td>
</tr>
</tbody>
<thead></thead>
<tbody>
</tbody>
<tbody>
</tbody>
<thead></thead>
</table>
<p><span style="font-size: xx-small;">*Note: In the initial release, IE Mobile for Windows Phone 7 does not support initial-scale, maximum-scale, or minimum-scale. </span></p>
<h2>How Windows Phone 7 Implements &ldquo;device-width&rdquo;</h2>
<p>The keyword &ldquo;device-width&rdquo; is intended to set the width of the Viewport to the width of the device that is viewing the page. On Windows Phone 7, the device width is 480 pixels. However, you will notice that if you set the Viewport width to &ldquo;device-width&rdquo;, IE actually sets the width to 320 (and also pins it to 320 if you specify a width of less than 320).</p>
<p>Why does IE do this? We made this decision after a large amount of testing real-world mobile Web sites and learning (to our chagrin) that a <span style="text-decoration: underline;">very</span> large number of sites out there that were using the &ldquo;device-width&rdquo; property were in fact <span style="text-decoration: underline;">not</span> laid out for the device&rsquo;s width, but were actually optimized for 320 pixels, probably because the majority of devices available on the market prior to Windows Phone 7 were 320 pixels wide. On many sites, this resulted in an empty strip along the side of the page when viewed in Windows Phone 7, since the sites were often using fixed-width 320px elements like &lt;div&gt; tags.</p>
<p>Faced with the difficult decision of a) shipping a browser on which many common sites didn&rsquo;t lay out optimally but was technically correct in using device-width, or b) making a slight adjustment to accommodate the many sites that didn&rsquo;t use device-width properly, we decided to use 320 as the setting for device-width. </p>
<p>In addition, if you use "device-width" and then rotate the screen to landscape, IE Mobile will re-size the Viewport to use the new dimensions. You can choose to re-layout your content by listening for the onResize event and then measuring the new width. For hard-coded numbers, IE Mobile simply scales up the content to fit the screen (which is what most other browsers do).</p>
<h2>Default Viewport Widths</h2>
<p>Different phone manufacturers have different default widths for the Viewport. The following table lists the known defaults for the current crop of mobile browsers:</p>
<table cellpadding="0" cellspacing="0">
<tbody>
</tbody>
<thead>
<tr>
<th width="173" valign="top" style="color: #ffffff;background-color:#333333">
<p>Phone Browser</p>
</th><th width="173" valign="top" style="color: #ffffff;background-color:#333333">
<p>Default Viewport Width</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td width="173" valign="top">
<p>Opera Mobile</p>
</td>
<td width="173" valign="top">
<p>850 pixels</p>
</td>
</tr>
<tr>
<td width="173" valign="top">
<p>iPhone Safari</p>
</td>
<td width="173" valign="top">
<p>980 pixels</p>
</td>
</tr>
<tr>
<td width="173" valign="top">
<p>Android</p>
</td>
<td width="173" valign="top">
<p>800 pixels</p>
</td>
</tr>
<tr>
<td width="173" valign="top">
<p>Windows Phone 7</p>
</td>
<td width="173" valign="top">
<p>1024 pixels</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2>Windows Phone 7 Support for META Tags</h2>
<p>IE in Windows Phone 7 will recognize all three of these meta tags, and will use the settings of the most modern tag that your page includes. IE will look for and use the settings in the following order:</p>
<ol>
<li>HandheldFriendly </li>
<li>MobileOptimized (overrides HandheldFriendly) </li>
<li>Viewport (overrides both MobileOptimized and HandheldFriendly) </li>
</ol>
<h2>Summary</h2>
<p>The Viewport tag provides a de-facto standard way of exerting much better control over your content&rsquo;s layout in today&rsquo;s mobile browsers. Hopefully, this post has been helpful in illustrating how IE Mobile uses the Viewport and in making your Web sites look great on Windows Phone.</p>
<p>Happy Coding!</p>
<p>Joe Marini <br />Principal Program Manager, Windows Phone <br />Microsoft Corp. <br /><a href="mailto:joemarin@microsoft.com">joemarin@microsoft.com</a> <br /><a href="https://twitter.com/joemarini">https://twitter.com/joemarini</a> <br /><a href="https://developer.windowsphone.com">https://developer.windowsphone.com</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Supported Fonts on IE for Windows Phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/supported-fonts-on-ie-for-windows-phone-7</link>
      <pubDate>Wed, 10 Nov 2010 14:20:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/11/10/supported-fonts-on-ie-for-windows-phone-7/</guid>
      <description><![CDATA[Internet Explorer on Windows Phone 7 supports a variety of font faces (13) that you can use in your...]]></description>
      <content:encoded><![CDATA[<p>Internet Explorer on Windows Phone 7 supports a variety of font faces (13) that you can use in your Web pages, ranging from the usual suspects like Arial to fonts like Segoe WP, which Windows Phone uses itself for various User Interface text. The full set of default fonts available are listed in the following table. Each of these font faces has an attendant variant for bold or italic. </p>
<table cellpadding="5" cellspacing="0" border="1" style="width: 490px;">
<tbody>
<tr style="background: black; color: white; font-size: 14pt">
<td>Regular</td>
<td width="160"><strong>Bold</strong></td>
<td width="164"><em>Italic</em></td>
</tr>
<tr>
<td><span style="font-family: arial; font-size: 12pt">Arial</span></td>
<td width="160"><span style="font-family: arial; font-size: 12pt; font-weight: bold">Arial</span></td>
<td width="164"><span style="font-style: italic; font-family: arial; font-size: 12pt">Arial</span></td>
</tr>
<tr>
<td><span style="font-family: arial black; font-size: 12pt">Arial Black</span></td>
<td><span style="font-family: arial black; font-size: 12pt; font-weight: bold">Arial Black</span></td>
<td><span style="font-style: italic; font-family: arial black; font-size: 12pt">Arial Black</span></td>
</tr>
<tr>
<td><span style="font-family: comic sans ms; font-size: 12pt">Comic Sans MS</span></td>
<td><span style="font-family: comic sans ms; font-size: 12pt; font-weight: bold">Comic Sans MS</span></td>
<td><span style="font-style: italic; font-family: comic sans ms; font-size: 12pt">Comic Sans MS</span></td>
</tr>
<tr>
<td><span style="font-family: courier new; font-size: 12pt">Courier New</span></td>
<td><span style="font-family: courier new; font-size: 12pt; font-weight: bold">Courier New</span></td>
<td><span style="font-style: italic; font-family: courier new; font-size: 12pt">Courier New</span></td>
</tr>
<tr>
<td><span style="font-family: georgia; font-size: 12pt">Georgia</span></td>
<td><span style="font-family: georgia; font-size: 12pt; font-weight: bold">Georgia</span></td>
<td><span style="font-style: italic; font-family: georgia; font-size: 12pt">Georgia</span></td>
</tr>
<tr>
<td><span style="font-family: lucida sans unicode; font-size: 12pt">Lucida Sans Unicode</span></td>
<td><span style="font-family: lucida sans unicode; font-size: 12pt; font-weight: bold">Lucida Sans Unicode</span></td>
<td><span style="font-style: italic; font-family: lucida sans unicode; font-size: 12pt">Lucida Sans Unicode</span></td>
</tr>
<tr>
<td><span style="font-family: times new roman; font-size: 12pt">Times New Roman</span></td>
<td><span style="font-family: times new roman; font-size: 12pt; font-weight: bold">Times New Roman</span></td>
<td><span style="font-style: italic; font-family: times new roman; font-size: 12pt">Times New Roman</span></td>
</tr>
<tr>
<td><span style="font-family: trebuchet ms; font-size: 12pt">Trebuchet MS</span></td>
<td><span style="font-family: trebuchet ms; font-size: 12pt; font-weight: bold">Trebuchet MS</span></td>
<td><span style="font-style: italic; font-family: trebuchet ms; font-size: 12pt">Trebuchet MS</span></td>
</tr>
<tr>
<td><span style="font-family: verdana; font-size: 12pt">Verdana</span></td>
<td><span style="font-family: verdana; font-size: 12pt; font-weight: bold">Verdana</span></td>
<td><span style="font-style: italic; font-family: verdana; font-size: 12pt">Verdana</span></td>
</tr>
<tr>
<td><span style="font-family: arial; font-size: 12pt">Webdings</span> (<span style="font-family: webdings; font-size: 12pt">Webdings</span>)</td>
<td><span style="font-family: arial; font-size: 12pt; font-weight: bold">Webdings</span> (<span style="font-family: webdings; font-size: 12pt; font-weight: bold">Webdings</span>)</td>
<td><span style="font-style: italic; font-family: arial; font-size: 12pt">Webdings</span> (<span style="font-style: italic; font-family: webdings; font-size: 12pt">Webdings</span>)</td>
</tr>
<tr>
<td><span style="font-family: tahoma; font-size: 12pt">Tahoma</span></td>
<td><span style="font-family: tahoma; font-size: 12pt; font-weight: bold">Tahoma</span></td>
<td><span style="font-style: italic; font-family: tahoma; font-size: 12pt">Tahoma</span></td>
</tr>
<tr>
<td><span style="font-family: calibri; font-size: 12pt">Calibri</span></td>
<td><span style="font-family: calibri; font-size: 12pt; font-weight: bold">Calibri</span></td>
<td><span style="font-style: italic; font-family: calibri; font-size: 12pt">Calibri</span></td>
</tr>
<tr>
<td><span style="font-family: segoe wp; font-size: 12pt">Segoe WP</span></td>
<td><span style="font-family: segoe wp; font-size: 12pt; font-weight: bold">Segoe WP</span></td>
<td><span style="font-style: italic; font-family: segoe wp; font-size: 12pt">Segoe WP</span></td>
</tr>
</tbody>
</table>
<p>In addition to these, there are three East Asian fonts that we include:</p>
<ul>
<li>Japanese: Meiryo UI</li>
<li>Simplified Chinese: Microsoft YaHei</li>
<li>Korean: Malgun Gothic</li>
</ul>
<p>And here&rsquo;s a snapshot of how they look on the phone:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/8662.FontsCapture_51A18BC6.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/8662.FontsCapture_5F00_51A18BC6.jpg"><img height="571" width="382" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/68/metablogapi/8664.FontsCapture_thumb_552F80D6.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-47-68-metablogapi/8664.FontsCapture_5F00_thumb_5F00_552F80D6.jpg" alt="FontsCapture" border="0" title="FontsCapture" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" /></a></p>
<p>Joe Marini <br />Principal Program Manager <br />Windows Phone <br /><a href="https://twitter.com/joemarini">https://twitter.com/joemarini</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Update: CSS and js support in ie Mobile for Windows phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/update-css-and-js-support-in-ie-mobile-for-windows-phone-7</link>
      <pubDate>Tue, 11 May 2010 12:15:43 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/05/11/update-css-and-js-support-in-ie-mobile-for-windows-phone-7/</guid>
      <description><![CDATA[Yesterday, we posted a blog entry that detailed some upcoming JavaScript and CSS support...]]></description>
      <content:encoded><![CDATA[<p>Yesterday, we posted a blog entry that detailed some upcoming JavaScript and CSS support enhancements that we are planning on making to the IE Mobile browser for Windows Phone 7. One of these changes, support for -webkit-text-size-adjust, stirred up a bit of controversy that caused us to stop and think further on the issue.</p>  <p>Our original intent in adding support for this WebKit-specific property was to make Web developers’ lives a bit easier by not having to add yet another vendor-prefixed CSS property to their pages to control how text was scaled. Even more specifically, we intuited that the most common use case for this property was to explicitly set it to “none” in order to tell the browser not to scale a particular section of text. </p>  <p>For example, if you have a picture in your page with an associated caption, you would use this property to prevent the browser from scaling the text, which would cause it to remain on a single line, reflecting the original intent of the designer, as in the following example:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/iemobile/WindowsLiveWriter/UpdateCSSandjssupportinieMobileforWindow_AC69/facepalm_2.jpg" original-url="https://blogs.msdn.com/blogfiles/iemobile/WindowsLiveWriter/UpdateCSSandjssupportinieMobileforWindow_AC69/facepalm_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="facepalm" border="0" alt="facepalm" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/iemobile/WindowsLiveWriter/UpdateCSSandjssupportinieMobileforWindow_AC69/facepalm_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/iemobile/WindowsLiveWriter/UpdateCSSandjssupportinieMobileforWindow_AC69/facepalm_thumb.jpg" width="310" height="249" /></a> </p>  <p>After hearing the community’s feedback on this issue (and a couple of face-palms when we realized the broader implications of implementing other browser vendors’ CSS properties), we’ve decided that it’s best to only implement the -ms- prefixed version and <strong>not</strong> the -webkit- one.</p>  <p>We thank all of the passionate Web contributors who weighed in on the issue, and we’re looking forward to building a great mobile Web browser that all developers can develop for with clarity and certainty.</p>  <p>Best Regards,</p>  <p>Joe Marini    <br />Principal Program Manager     <br />Windows Phone</p>]]></content:encoded>
    </item>
    <item>
      <title>JavaScript and CSS changes in IE Mobile for Windows Phone 7</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/javascript-and-css-changes-in-ie-mobile-for-windows-phone-7</link>
      <pubDate>Mon, 10 May 2010 14:19:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/05/10/javascript-and-css-changes-in-ie-mobile-for-windows-phone-7/</guid>
      <description><![CDATA[For IE Mobile in Windows Phone 7, we've made a couple of JavaScript and CSS enhancements that you...]]></description>
      <content:encoded><![CDATA[<p>For IE Mobile in Windows Phone 7, we've made a couple of JavaScript and CSS enhancements that you can try out today in the <a href="https://go.microsoft.com/?linkid=9713250" title="Get the WP7 Developer Tools" target="_blank" mce_href="https://go.microsoft.com/?linkid=9713250">Windows Phone 7 Emulator</a>.</p>
<p>The new scripting functions are:</p>
<ul>
<li>getElementsByClassName(name): given the class specified by <i>name</i>, returns all of the elements or sub-elements within the scope of this function call</li>
<li>querySelector(selector): given the <i>selector</i>, returns the first element within the sub-tree of the scope of this function call that matches the selector</li>
<li>querySelectorAll(selector): given the <i>selector</i>, returns all&nbsp;elements within the sub-tree of the scope of this function call that match the selector</li></ul>
<p>We've also added support for the <i>-webkit-text-size-adjust</i> CSS selector. This selector allows you to control how text on the Web page is scaled to increase readability for the user (you can also use&nbsp;<i>-ms-text-size-adjust</i>, IE Mobile recognizes both).</p>
<p>You can set the value of the selector to "none", "auto", or a percentage value.</p>
<ul>
<li>"none": turns off text size adjustment. For example, html { -ms-text-size-adjust:none } turns off text adjustment for the entire page.</li>
<li>"auto": sets the text size adjustment to the automatic setting</li>
<li>percentage: use the specified percentage value to adjust text size. For example, .title { -ms-text-size-adjust: 150% } will adjust the text size for elements that are assigned the "title" CSS class.</li></ul>
<p><b>[Update 05/11/2010: based on community feedback, we will only be implementing the -ms- prefix, not the -webkit- one.]</b><br></p><p>Joe Marini<br>Principal Program Manager<br>Windows Phone<br></p>]]></content:encoded>
    </item>
    <item>
      <title>Run the Windows Phone Emulator as Standalone</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/run-the-windows-phone-emulator-as-standalone</link>
      <pubDate>Mon, 29 Mar 2010 11:09:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/03/29/run-the-windows-phone-emulator-as-standalone/</guid>
      <description><![CDATA[UPDATE 11/2/2010: You don't need to do this anymore, as the Windows Phone Developer Tools now...]]></description>
      <content:encoded><![CDATA[<p><strong>UPDATE 11/2/2010: You don't need to do this anymore, as the Windows Phone Developer Tools now install a link in the Start menu that launches the Emulator directly.</strong></p>
<p>If you are developing a mobile Web app and want to test it out in the Windows Phone emulator running IE Mobile, you don't need to launch the Windows Phone developer tools&nbsp;with a dummy project&nbsp;each time and hit F5 just to click on the IE icon in order to get the browser running.</p>
<p>Create a shortcut icon,&nbsp;right-click it and choose Properties,&nbsp;and&nbsp;set the Target field to:</p>
<p><code>"{Install Drive}:\Program Files\Microsoft XDE\1.0\XDE.exe" "{Install Drive}:\Program Files\Microsoft SDKs\WindowsPhone\v7.0\Emulation\Images\WM70C1.bin"</code></p>
<p>Then you can just use this shortcut to launch the Emulator as a standalone image each time and start the browser.</p>
<p>Enjoy!</p>
<p>Joe Marini<br />Principal Program Manager<br /><a href="https://twitter.com/joemarini">@joemarini</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Recommended Web Videos from MIX2010</title>
      <link>https://docs.microsoft.com/archive/blogs/iemobile/recommended-web-videos-from-mix2010</link>
      <pubDate>Mon, 29 Mar 2010 09:38:00 GMT</pubDate>
      <dc:creator><![CDATA[IE Mobile Team]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/iemobile/2010/03/29/recommended-web-videos-from-mix2010/</guid>
      <description><![CDATA[Now that MIX is well behind us and the crowds have all returned home, we hope that many of you are...]]></description>
      <content:encoded><![CDATA[<P>Now that MIX is well behind us and the crowds have all returned home, we hope that many of you are busily working away on your Rich Mobile Web applications and learning all about Windows Phone 7 development.</P>
<P>To aid in this effort, I've pulled together a short list of sessions that I consider to be must-see for any Web developer looking to build robust, modern applications.</P>
<UL>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/CL09" alt="CL09">Developing with WCF RIA Services Quickly and Effectively</A> </LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/CL23" alt="CL23">Designing and Developing for the Rich Mobile Web</A> </LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/DS01" alt="DS01">The Laws of User Experience</A></LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/EX03" alt="EX03">Modern Web Form Design</A></LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/EX20" alt="EX20">Building Great Standards-Based Websites for the Big Wide World with Microsoft ASP.NET 4</A></LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/FT08" alt="FT08">Improving Software Quality for the Modern Web</A> </LI>
<LI><A href="https://live.visitmix.com/MIX10/Sessions/EX39" alt="EX39">The Tale of JavaScript. I Mean ECMAScript.</A> </LI></UL>
<P>Enjoy!</P>
<P>Joe Marini<BR>Principal Program Manager, Windows Phone<BR><A href="https://twitter.com/joemarini" mce_href="https://twitter.com/joemarini">@joemarini</A><BR><BR></P>]]></content:encoded>
    </item>
  </channel>
</rss>