image zoom with caption css not working -


hi using following code create image zoom effect caption appears on mouse over, reason not working expected

    <!-- start thumbnailwrapper div --> <div class="thumbnailwrapper centered"> <!-- start unordered list --> <ul>     <li>     <a href="../13.aspx"><img alt="" src="product-th05.jpg" /></a>     <div class="caption">     <p class="captioninside">roof cladding</p>     </div>     </li>     <li>     <a href="../14.aspx"><img alt="" src="product-th06.jpg" /></a>     <div class="caption">     <p class="captioninside">wall cladding</p>     </div>     </li>     <li>     <a href="../15.aspx"><img alt="" src="/portals/0/images/3.jpg" /></a>     <div class="caption">     <p class="captioninside">lining panels</p>     </div>     </li>     <li>     <a href="../16.aspx"><img alt="" src="/portals/0/images/4.jpg" /></a>     <div class="caption">     <p class="captioninside">roof decking</p>     </div>     </li>      <li>     <a href="../24.aspx"><img alt="" src="/portals/0/images/12.jpg" /></a>     <div class="caption">     <p class="captioninside">coatings &amp; colour chart</p>     </div>     </li> </ul> </div> 

and css code using create effect

<style>  /* wrapper */ .thumbnailwrapper {     width: 960px;     margin: 0px auto;     text-align: center } /* not important */ .thumbnailwrapper ul {     list-style-type: none; /* remove default style list items (the circles) */     margin: 0px; /* remove default margin */     padding: 0px; /* remove default padding */ } .thumbnailwrapper ul li {     float: left; /* important: left float */     position: relative; /* can use top , left positioning */     overflow: hidden; /* hide content outside boundaries (zoom) */      padding: 8px;     margin: 10px 10px 10px 10px;     -webkit-border-radius: 20px;     -moz-border-radius: 20px;     border-radius: 20px;     -moz-box-shadow: 1px 1px 3px 4px #ccc;     -webkit-box-shadow: 1px 1px 3px 4px #ccc;     box-shadow: 1px 1px 3px 4px #ccc; }   .thumbnailwrapper ul li img {     width: 200px; /* not important, pics use here big */     position: relative; /* can use top , left positioning */         border: 2px solid #333; } .caption {     position: absolute; /* needed positioning */     bottom: 0px; /* bottom of list item (container) */     left: 0px; /* start left of list item (container) */     width: 100%; /* stretch whole width of container */     display: none; /* hide default */     /* styling bellow */     background: #009b7b;     color:#fff;     opacity: 0.9;     font-weight:800; } .caption .captioninside {     /* styling */     padding: 10px;     margin: 0px; } .clear {     clear: both; } /* clear float after last item */</style> 

i thought might ie playing not want work in browser appreciated


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -