Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    offsetheight doesnt wokr on ie10 below quirksmode.org/mobile/tableViewport_desktop.html Commented Aug 26, 2015 at 15:38
  • 5
    You could also use scrollHeight which includes the height of the contained document, vertical padding, and vertical borders. Commented Dec 24, 2015 at 11:35
  • 1
    NOTE: This allows you to get the height of something, but you cannot change the height of your element with it. See: stackoverflow.com/questions/4925217/… Commented Jul 21, 2016 at 14:27