//includes margin and padding document.getElementById('myDiv').offsetHeight; //without margin and padding document.getElementById('myDiv').clientHeight;
document.getElementById("myBtn").style.height = "50px";