I want to be able to "wrap" different divs with different sizes Something like what Microsoft Word does with text wrapping, square, it just blends in with the rest.
I have a structure simplefied here
<div id = "div1"></div>
<div id = "div2"></div>
<div id = "bigdiv1"></div>
<div id = "div3"></div>
<div id = "div4"></div>
<div id = "div5"></div>
<div id = "div6"></div>
<div id = "div7"></div>
<div id = "div8"></div>
<div id = "div9"></div>
<div id = "div10"></div>
Which would look like: http://postimg.org/image/d3mot921d/ But i want it to look like: http://postimg.org/image/w8doc5ofx/ Also using float left and right wont work as desired (I think), because I want to be able to put in multiple of those big divs. so 3 of the big divs should float with small divs inbetween. But you get those white spaces, for which I have no idea how to remove them.
Also Using Javascript and Jquery would be OK.
I have not yet found a solution that even comes close to what I want, I hope some of you know how to do this.