Quick Help - I think I'm overlooking something!
have an s3slider slide show on
www.karate-usa.com/testhome
As you can see, the <ul> bullet point is showing up next to the slideshow and it's not supposed to be. Here is the CSS:
-
#s3slider {
width: 840px; /* important to be same as image width */
height: 250px; /* important to be same as image height */
position: relative; /* important */
overflow: hidden; /* important */
}
#s3sliderContent {
width: 840px; /* important to be same as image width or wider */
position: absolute; /* important */
top: 0; /* important */
margin-left: 0; /* important */
}
.s3sliderImage {
float: left; /* important */
position: relative; /* important */
display: none; /* important */
}
.s3sliderImage span {
position: absolute; /* important */
left: 0;
font: 16px Arial, Helvetica, sans-serif;
padding: 10px 13px;
width: 840px;
background-color: #000;
filter: alpha(opacity=70); /* here you can set the opacity of box with text */
-moz-opacity: 0.7; /* here you can set the opacity of box with text */
-khtml-opacity: 0.7; /* here you can set the opacity of box with text */
opacity: 0.7; /* here you can set the opacity of box with text */
color: #fff;
display: none; /* important */
bottom: 0;
/*
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;
}
And the markup:
-
<div id="s3slider">
<ul id="s3sliderContent">
<li class="s3sliderImage">
<a href="#"><img src="http://www.karate-usa.com/slideshow/slide1.jpg" /></a>
<span>This is test text.</span>
</li>
<li class="s3sliderImage">
<a href="#"><img src="http://www.karate-usa.com/slideshow/slide2.jpg" /></a>
<span>This is more test text.</span>
</li>
<div class="clear s3sliderImage"></div>
</ul>
</div>
Thanks so much!