div and p random generate