I have two DIVs that I need to know the calculated browser distance (in height) of them. I have read about the offset feature but the examples were not written for the way I
Something like this should work:
$('.foo').offset().top - $('.bar').offset().top
As long as each class only has one element on the page. If they are not unique, give the two elements an ID and reference with that.