<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic It's hard to diagnose.  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-IOS-App-page-stretches-continiously-but-code-works-on/m-p/1073416#M58954</link>
    <description>&lt;P&gt;It's hard to diagnose.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	But have you looked at using vw/vh coordinates instead of %? &amp;nbsp;The percentage is tricky, because it is very nesting sensitive. But the vh and vw coordinates are simple: percentage of viewport width (or viewport height).&lt;/P&gt;

&lt;P&gt;This simple CSS rule might be all you need:&lt;/P&gt;

&lt;PRE class="brush:css;"&gt;img {
  width: 100vw;
  height: 100vh;
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 18:13:31 GMT</pubDate>
    <dc:creator>Chris_P_Intel</dc:creator>
    <dc:date>2016-11-03T18:13:31Z</dc:date>
    <item>
      <title>Intel XDK - IOS App page stretches continiously but code works on Android</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-IOS-App-page-stretches-continiously-but-code-works-on/m-p/1073415#M58953</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I have built an App using HTML5.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;DIv &amp;amp; images sizes have been set using screen percentage.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;i.e.&lt;/P&gt;

&lt;P&gt;&amp;lt;&lt;SPAN style="font-size: 1em;"&gt;img src="1.jpg" width="&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em;"&gt;100%&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em;"&gt;" height="&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em;"&gt;100%"&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;This approach works fine and the page adjusts on web-browsers and andriod devices. However on IOS the page continually stretches and stretches the page outwards.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is there some code that needs to be inserted to stop this from happening?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Many Thanks, &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 06:03:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-IOS-App-page-stretches-continiously-but-code-works-on/m-p/1073415#M58953</guid>
      <dc:creator>Kevin_k_1</dc:creator>
      <dc:date>2016-11-03T06:03:22Z</dc:date>
    </item>
    <item>
      <title>It's hard to diagnose. </title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-XDK-IOS-App-page-stretches-continiously-but-code-works-on/m-p/1073416#M58954</link>
      <description>&lt;P&gt;It's hard to diagnose.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	But have you looked at using vw/vh coordinates instead of %? &amp;nbsp;The percentage is tricky, because it is very nesting sensitive. But the vh and vw coordinates are simple: percentage of viewport width (or viewport height).&lt;/P&gt;

&lt;P&gt;This simple CSS rule might be all you need:&lt;/P&gt;

&lt;PRE class="brush:css;"&gt;img {
  width: 100vw;
  height: 100vh;
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 18:13:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-XDK-IOS-App-page-stretches-continiously-but-code-works-on/m-p/1073416#M58954</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2016-11-03T18:13:31Z</dc:date>
    </item>
  </channel>
</rss>

