I have boxes of different widths and heights, they can be any element type, but are currently divs.

I need o align the elements so that they have the same space in between them.

IE: I want to take the bottom 2 red boxes on the left and float them up to the bottom of the blue box on top. Any Suggestions?

John_Betong
—
2012-10-13T17:03:48Z —
#2

JamesKenny said:

I have boxes of different widths and heights, they can be any element type, but are currently divs.

I need o align the elements so that they have the same space in between them.

IE: I want to take the bottom 2 red boxes on the left and float them up to the bottom of the blue box on top. Any Suggestions?

Try enclosing the blue andt two red boxes in a div of about 50% width that is floated to the left.

The right-hand red and blue boxes can also be enclosed in another containing divc left floated up against the previous left floated box.

The green and yellow boxes - where they go nobody knows

It would help if you supplied a link to what you have already tried.

JamesKenny
—
2012-10-13T20:55:29Z —
#3

John_Betong said:

Try enclosing the blue andt two red boxes in a div of about 50% width that is floated to the left.

The right-hand red and blue boxes can also be enclosed in another containing divc left floated up against the previous left floated box.

The green and yellow boxes - where they go nobody knows

It would help if you supplied a link to what you have already tried.

Your right, I guess I should have mentioned there is jquery behind the scenes, that is sortable, I have also tried draggable. The problem is not only are the boxes that display per page dynamic based on users choice, the sizes are also dynamic based on the users choice. And the positions have to be stored in a database so the boxes are the same the next time the user logs in.