On Jun 1, 2009, at 2:27 PM, Adrian Chen wrote:
Use CSS to control the initial display of the images.
How would that be done? Right now this is what I'm using
.pics {
height: 220px;
width: 960px;
margin-left: auto;
margin-right: auto;
}
.pics img {
width: 960px;
height: 220px;
}
Hi Adrien,
Try it with two additional declarations:
.pics {
position: relative;
height: 220px;
width: 960px;
margin-left: auto;
margin-right: auto;
}
.pics img {
position: absolute;
width: 960px;
height: 220px;
}
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com