views:

1088

answers:

2

I'll try to explain what i'm trying to get. I've a div with position:fixed (at the bottom of a page) into that div, there is some other divs. What i want is to show another div (with absolute position) aligned to the right with those divs... in other words, i wan't to know the left position of the divs...

+3  A: 
$('#ID').position().left
ChaosPandion
+2  A: 

Relative to the document:

$('#ID').offset().left

Relative to its offset parent:

$('#ID').position().left
Eric