You cannot predict the total height of an element before loading after the browser displays and places the elements depending on the neighboring elements and the size of the viewport.
However, you can use most js libraries to find what you are looking for. In Prototype, this is:
$('navlist-main').offsetHeight
This will recursively add the rendering height (and not just the style height) for each child element and any associated margins and indents, and will return the exact number for the element height.
source share