[css] random image in a container?

Soldato
Joined
20 Oct 2002
Posts
3,923
Location
London
Hi all, i am making a website for someone. Just a small site with about 5 pages. I've done the css style sheet, into which i have the following:

#containerleft
{
float: left;
width: 350px;
height: 350px;
background-image:url('pic1.jpg');
border-right: 20px solid #FFF;
padding: 10px;
}

the 'pic1.jpg' is the picture that is inside the left hand column of the page (it's a small picture/page). However, i'd actually like to rotate, randomly if possible, between several pictures.

Can i do it?

Thanks!
 
Back
Top Bottom