i haven't looked a the code so i might be mistaken, but in my experiance 90% of the times a style isn't cloned, it's because it's coming from inheritance: http://mootools.net/shell/FmkZk/
i've had quite a lot of trouble with this behavior before i figured it out... ----------- אריה גלזר 052-5348-561 5561 2010/2/23 Fábio M. Costa <[email protected]> > i still cant see why its not cloning the styles. > > another example: > > http://mootools.net/shell/9ND3r/ > > -- > Fábio Miranda Costa > Solucione Sistemas > Engenheiro de interfaces > > > On Tue, Feb 23, 2010 at 11:18 AM, bootle <[email protected]> wrote: > >> Hey, mhm weird, I replied in the morning and now I see the message >> disappeared.. >> >> Anyway, styles are unfortunately not cloned, the element just inherits >> certain css properties depending on its parents, here's an example: >> http://mootools.net/shell/eqhfA/1/ >> What I want to do is to be able to move the element out of its >> container and preserve its appearance (that works, only there are a >> few problems I mentioned), that makes the element escape things such >> as wrappers with overflow:hidden and it is draggable around the whole >> page no matter the css/html structure >> >> Your solution for float doesn't seem to work in IE8 either >> unfortunately (there's a js error), I'll try to fiddle more with that >> later on though >> >> Cheers >> > >
