Nesten, jQuery vil normalt bruke clientHeight ikke offsetHeight
clientHeight:
Returns the height of the visible area for an object, in pixels. The value contains the height with the padding, but it does not include the scrollBar, border, and the margin.
offsetHeight:
Returns the height of...