I have a div and want to find the bottom position. I can find the top position of the Div like this, but how do I find the bottom position?
var top = $(\'#bo
The answers so far will work.. if you only want to use the height without padding, borders, etc.
If you would like to account for padding, borders, and margin, you should use .outerHeight.
.outerHeight
var bottom = $('#bottom').position().top + $('#bottom').outerHeight(true);