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
Use .offset():
$('.foo').offset().top - $('.bar').offset().top