This is the code im using and its working fine:
var divh = document.getElementById('main-content').offsetHeight;
var divh = divh + 200;
// alert(divh +"px");
So heres the thing, what I need to do is take the value in the variable divh
and echo it into the page as an inline css height attribute.
So for example:
Any help would be greately appreciated.