Hi guys this one has got me stumped.
I'm making a page builder where you can create column divs the maximum per line is 12, each one floated left.
Trouble is I need a clear float when the div column exceeds 12. This is all dynamic being a drag and drop page builder. Why do I need a clear float? Because the columns could have varrying heights and without the clear floats it looks messy on the page.
I've done a bit of research and I believe the solution lies with using jquery position().left().
I'm a bit stumped how to implement it.
Somehow the element that I'm dragging needs to evaluate whether it is the last possible div in that row.