I just figured out what has been giving me grief all morning. iE6 doesn't give correct values for element.offset(Left|Top|Right|Bottom) until after the page has loaded under some circumstances. Especially when the element is inside a table. Until the page finishes render, it returns 0.
Urggg! I guess it is still adjusting the table size to fit so its ambiguous as to the correct size. I spent a while seeing if it was this bug (http://support.microsoft.com/kb/811808) but I think they aren't quite related.
Vent over.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment