I was trying to do something fancy by randomly placing several <p>
elements in a div. I am aware of the Math.random()
js function, but since I'm placing them randomly with absolute position I get some overlapping :\
So, my question is: is there a simple way to achieve this?
Edit:
After analyzing the possible duplicate, I found out the solution used does not fit my needs.. They basically create a grid since they know exactly what each element will contain.. My <p>
elements will have text inside that can go from 9 chars to a larger number of chars...