I'm having some trouble using Element#cumulativeOffset and
Element#cumulativeScrollOffset to absolutely position an element right
under a link in certain browsers.

I made a couple of tests to illustrate the issue, which can be found
here: http://www.jeffreykeen.com/sandbox/position.

But in summary, I've found two cases which seem to be problematic.

1. If the link has a relatively positioned parent that also has a set
margin of X pixels, the position will be reported X pixels off of the
true position in IE6 & IE7.

2. If the link has an absolutely positioned parent, with a floated
sibling, the link's position will be reported incorrectly in IE6.

Can anyone provide any insight?

Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to