#s3slider {
width: 940px; /* important to be same as image width */
height: 459px; /* important to be same as image height */
position: relative; /* important */
overflow: hidden; /* important */
}
#s3sliderContent {
width: 600px; /* important to be same as image width or wider */
position: absolute; /* important */
top: 0; /* important */
margin-left: 0; /* important */
list-style-type: none;
margin:0px;
}
.s3sliderImage {
float: left; /* important */
position: relative; /* important */
display: none; /* important */
margin-left:-40px;
}
.s3sliderImage span {
position: absolute; /* important */
left: 0;
font: 12px Arial;
padding: 10px 13px;
width: 600px;
background-color: #000;
filter: alpha(opacity=0); /* here you can set the opacity of box with text */
-moz-opacity: 0; /* here you can set the opacity of box with text */
-khtml-opacity: 0; /* here you can set the opacity of box with text */
opacity: 0; /* here you can set the opacity of box with text */
color: #fff;
display: none; /* important */
/*
if you put
top: 0; -> the box with text will be shown at the top of the image
if you put
bottom: 0; -> the box with text will be shown at the bottom of the image
*/
}
.clear {
clear: both;
}
.top {top:0;}
.bottom {bottom:0;}