I am trying to sort some images using jQuery. I refered to http://jqueryui.c开发者_StackOverflow中文版om/demos/sortable/#display-grid and it's working. But the problem is that when I try to sort the images by dragging them from left to right, my form gets moved to left (but when I do the opposite it works perfectly). I have tried setting up margins and all but it's not working. How can I get the behavior I want?
The problem is solved. I just changed the size of the image in the container and it does not produce the distortion any more. Thanks for the comments guys.
精彩评论