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.
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?
EDIT: I would not be opposed to other methods of doing this. I just don't know of any other way.
<div id="pageContent" onload="document.this.style.height = clientHeight - '60px';">