I am getting invalid argument from inside Position.relavitize on IE7. Using 1.5.1.1 of Prototype. relativize: function(element) { element = $(element); if (element.style.position == ''relative'') return; Position.prepare(); element.style.position = ''relative''; var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); element.style.top = top + ''px''; element.style.left = left + ''px''; -----> //element.style.height = element._originalHeight; //element.style.width = element._originalWidth; } } I commented the setting of height and width out and all is functioning well. I do not understand why I would get an invalid argument lnoy under IE7, but it occurs to me that there is an assumption that absolutize() has been called previously on the element to store these values which is NOT my case in my application. I changed my app to call absolutize, but the items being absolute already made it swiftly return. I am also not sure (noob) why positioning an element requires restoring width and height when the object is not moving. I may just be ignorant on that. In any case why do I need to do this??? And what effect will commenting these out have?? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---