jquery - Center multiple absolute positioned divs within wrapper -


I am trying to create a good looking droplet area for such elements that align itself in the center of the cover is. I got the full drag drop bit job, but wondering if anyone knew the solution of the already focused issue.

All divs are exactly 320x240 (webcams) and already for the initial CSS first element which is well-focused, now what I see is that when a new div is dropped into the area, So the current one is adjusted for the new one to move forward, the rest are centered as possible.

They can be on one side, when three types of triangles are one below two, then 2 will look like 2 below 2.

I can not imagine it has not been done already, but proved to be useless in search of a jquery plugin.

Any help is greatly appreciated!

How about something like this

Originally its:

  wrapper {text-align: center;} block {display: inline-block}    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -