There is a problem with assigning values to arguments.
There is the following code jsfiddle
Unfortunately, dragdrop not implemented there, but in fact it is in the project.
When dragging a green square ( draggable ) to the yellow square area ( droppable ),
he retains the positions "top" and "left", although I forcibly changed them.
The browser code inspector shows the following:
element.style { position: relative; left: 2px; top: 5px;} testsyle.css:18 div.droppable .draggable { margin: auto; top: 0px; left: 0px;} Question 1 - how to assign them the value 0 top and left.
Question 2 - how else to move them into yellow squares.
