are you sure the styles are not cloned? I think the problem is that you might be styling your div with the id property, and its removed when you clone an element to avoid duplicated ids.
But with this shell you can see that styles are cloned (clone function would make little sense if not). http://mootools.net/shell/eqhfA/ Also, theres some code you could look and maybe overwrite your getStyle, if its the float property than you do something, else it uses the current implementation. https://mootools.lighthouseapp.com/projects/2706/tickets/756-elementgetstylefloat-retuns-nothing#ticket-756-6 i just updated it with some code. -- Fábio Miranda Costa Solucione Sistemas Engenheiro de interfaces On Mon, Feb 22, 2010 at 6:15 PM, bootle <[email protected]> wrote: > Here's a version with classes contained in shell not a separate > draggr.js file: http://mootools.net/shell/3QHLw/ >
