javascript set style height of element code example Example: javascript element height var intElemOffsetHeight = element.offsetHeight;