I’m trying to read the height of a div in IE7. Element.currentStyle returns “auto”. How do I now calculate the height of this element? How does jQuery accomplish this? Its height() function is able to retrieve the value(http://api.jquery.com/height/) when IE developer’s bar shows me the value is set to auto?
EDIT: I’m not using jQuery, so I’m hoping for a solution that does this in pure javascript
Maybe
document.getElementById("idHere").offsetHeightworks!