#slider {
   width: 310px; /* important to be same as image width */
   height: 400px; /* important to be same as image height */
   margin: 10px;
   position: relative; /* important */
   overflow: hidden; /* important */
   border: 1px solid #acd5d2;}

#sliderContent {
   width: 310px; /* important to be same as image width or wider */
   position: absolute; /* important */
   top: 0; /* important */
   margin-left: 0; /* important */
}

.sliderImage {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
}

.sliderImage span {
   position: absolute; /* important */
   left: 0;
   font: 16px/20px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 287px;
   background-color: #acd5d2;
   filter: alpha(opacity=90); /* here you can set the opacity of box with text */
   -moz-opacity: 0.9; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.9; /* here you can set the opacity of box with text */
   opacity: 0.9; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   top: 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
   */
}

.sliderImage span a {
  font: 16px/20px Arial, Helvetica, sans-serif;
  color: #fff;
}

#slider2 {
   width: 410px; /* important to be same as image width */
   height: 300px; /* important to be same as image height */
   margin: 10px;
   position: relative; /* important */
   overflow: hidden; /* important */
   border: 1px solid #acd5d2;
   text-align:left;
}

#slider2Content {
   width: 410px; /* important to be same as image width or wider */
   position: absolute; /* important */
   top: 0; /* important */
   margin-left: 0; /* important */
}

.slider2Image {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
}

.slider2Image span {
   position: absolute; /* important */
   left: 0;
   font: 16px/20px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 387px;
   background-color: #acd5d2;
   filter: alpha(opacity=90); /* here you can set the opacity of box with text */
   -moz-opacity: 0.9; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.9; /* here you can set the opacity of box with text */
   opacity: 0.9; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   top: 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
   */
}

.slider2Image span a {
  font: 16px/20px Arial, Helvetica, sans-serif;
  color: #fff;
}


.clear {
   clear: both;
}

#slider2 ul, #slider ul {
list-style-type: none;
margin: 0;
padding: 0;
}
