Subtracting from div height in jQuery
<p>today I have a quick question.  Here is my function:</p>

<pre><code>function checkheight() {
var heightofdiv = $('#checkforheight').height();
$("#centeredbackground").css("min-height",heightofdiv);
}
</code></pre>

<p>My problem is that I want to get my variable, heightofdiv, and then subtract the answer by 42 pixels.  So really, I want heightofdiv to be equal to the height of checkforheight minus 42 pixels.  If this is even possible, help would be greatly appreciated.  Thanks!</p>
