Which browser(s)? Are you using the latest version of the dimensions plugin from SVN?
I haven't had any issues with floated elements yet or heard of any. If you could provide a stripped down version or even just the version in its current state it would help me/others identify the issue. -- Brandon Aaron On 2/7/07, Tim McCormack <[EMAIL PROTECTED]> wrote: > 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 > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
