Hi all,

I'm trying to inject a div with absolute position,
and its css properties top/left/width/heigth
are relative to another element.

Please see this example: http://mootools.net/shell/Aaqvy/

Everything works well getting the positions of the image
using the .getPosition() function.

If you remove the comment in the css
(or just go here http://mootools.net/shell/AJYms/,
it's the same code but with different css)

.getPosition() seems it's returning wrong values.

There's a way to fix it or a workaround? :)
Maybe it's my code fault.

Thank you,
Andrea

Reply via email to