I have some divs with unique IDs in different places in my webpage. I want to find the exact height of the space above the div (till its find the starting position of the screen) as mentioned in the image below,

Is there are anyways to do this in jQuery? please help me do this,
Regards,
You can use
.offset().topor.position().top:find in the fiddle: http://jsfiddle.net/zVzBQ/