[jQuery] Trouble with event position X/Y - anyone else?

[jQuery] Trouble with event position X/Y - anyone else?

I'm developing a little app that involves positioning a translucent
div near the cursor, and the numbers aren't adding up. I'm using the
Dimensions plugin and subtracting an element's offset from the event's
pageX/Y coordinates, and the X coordinate is consistently about 53
pixels off. Not coincidentally, the element is centered within a
larger element, and the distance between their (left) edges is 53
pixels. That parent element is floated right, if it makes a
difference.
(I'll try to create a stripped-down version for poking-at, but I don't
have time at the moment.)
Is there something I should know about calculating element offsets
with floats and centering? Has anybody else had problems with the
Dimensions plugin, or event coordinates?
- Tim McCormack
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/