> If I have an element with position: relative; and then create in that
> element a button with position: absolute, and then try to
> getElementPosition on that button, it seems to be wrong.

It certainly sounds like MochiKit miscalculates the position there.
Quoting 
http://browservulsel.blogspot.com/2006/01/positioning-elements-inserted-by-user.html
(I know, not a standards document, so I'm sure it might be somewhat
short of Absolute Truth :-): "you need to position [an] absolute
positioned element relative to the root elements or the first
non-static positioned parent node".

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to