How do you display HTML content in a different order every time the user refreshes?

Crapper Wagon

New member
I'm creating a web page and I have these small square images on the page. I want to have it so where every time you refresh the page, the small square images are shown in a different order.

I don't want a random image each time, I just want the order randomized.

Any help or references would be greatly appreciated.
Ok, so I found a code, but now I just need a little help. The <div> tag breaks up the page and I want all my content on one line. It's like:
<div class="group1">
<a href="my_link"><img src="my_image" border="0"></a> *
</div>
But after it, it basically creates a new paragraph. How can I get this all on one line?
 
Back
Top