I'm trying to make sortable blocks with various heights using JQuery .sortable()
.
But if you try to move the big block to the right then one of small boxes moves to bottom and leaves blank place.
And when I set float: right
to parent div instead of float: left
I can't drag the big block to the left correctly.
I understand why it happens and how the float
works but I can't find a workaround.
UPDATE: Here is complete picture of what I'm trying to do. All I want is to be able to create this structure from blank page using only 6 sizes of width, resizable height and sortable items.