Today I have a quick question. Here is my function:
function checkheight() { var heightofdiv = $('#checkforheight').height(); $("#centeredbackground").css("min-height",heightofdiv); }
My problem is that I want to get my variable, heightofdiv, and then subtract the 42 pixel response. So really, I want the heightofdiv to be equal to the height of the control light minus 42 pixels. If even possible, help would be greatly appreciated. Thanks!
source share