title: hide iPhone address bar with 100% height
body: <p>Many posts on this, but not quite for my situation. My page has flexible dimensions set to 100% width and 100% height, so the typical on-load scroll function isn't working. Any thoughts or other solutions?</p>
  
  <p>Thanks!</p>
  
  <p>CSS:</p>
  
  <pre><code>* {
      margin:0;
      padding:0;
  }
  html, body {
      width:100%;
      height:100%;
      min-width:960px;
      overflow:hidden;
  }
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>    /mobile/i.test(navigator.userAgent) &amp;&amp; !pageYOffset &amp;&amp; !location.hash &amp;&amp; setTimeout(function () {
    window.scrollTo(0, 1);
      }, 1000);​
  </code></pre>