title: Can I set the height of the HTML element via jQuery?
body: <p>I'm having an issue with IE6 compatibility on a Boilerplate (and HTML5Shiv) project. I've been attempting to set the <code>&lt;html&gt;</code> element to be the same height as the <code>&lt;body&gt;</code> element but for whatever reason, it is fixed on 100% without any specific code. Each page's length is dynamic so I cannot set specific values.</p>
  
  <p>I want to do this because of one primary reason -- IE6 is not displaying the scrollbar even though there is additional content below. </p>
  
  <p>I've tried to set the height via the following code without any luck:</p>
  
  <pre><code>$("html").css("height", parseInt($("body").height()) + "px");
  </code></pre>
  
  <p>I've also attempted the following code and only the <code>&lt;body&gt;</code> element responds: </p>
  
  <pre><code>$("html, body").css("height", "2000px");
  </code></pre>
  
  <p>However, I have been able to add scrolling through a band-aid fix:</p>
  
  <pre><code>html, body {
      overflow-y: scroll;
  }
  </code></pre>
  
  <p>Now back to the height problem, is this even possible via <code>jQuery</code>? Does IE6 simply not support what I'm after?</p>
  
  <p>Thanks!</p>