title: resize a div using onload
body: <p>I am trying to resize a div onload without having a javascript function in the header. So far my code looks like the code below, and while I am somewhat familiar with javascript, I am very much so a beginner.</p>
  
  <p>What I am wanting to do is take a div that has a height set in the stylesheet of 100%, and subtract 60px of height on load. Am I even close, or am I lost?</p>
  
  <p>EDIT: I would not be opposed to other methods of doing this. I just don't know of any other way.</p>
  
  <pre><code>&lt;div id="pageContent" onload="document.this.style.height = clientHeight - '60px';"&gt;
  </code></pre>