 .thumbnail{  
 position: relative;  
 z-index: 0;
 background-color:#ffefd5;
 }  
 .thumbnail:hover{  
 background-color: transparent;  
 z-index: 0;
 background-color:#ffefd5;
 }  
 .thumbnail span{ /*CSS for enlarged image*/  
 position: absolute;  
 background-color: #ffffff;  
 padding: 5px;  
 left: -1000px;  
 border: 1px solid white;  
 visibility: hidden;  
 color: Yellow;  
 text-decoration: none;  
 border-radius: 10px 10px 10px 10px; 
 -moz-border-radius: 10px 10px 10px 10px; 
 -webkit-border-radius: 10px 10px 10px 10px; 
 }  
 .thumbnail span img{ /*CSS for enlarged image*/  
 border-width: 0;
 z-index: 5;  
 padding: 2px;  
 }  
 .thumbnail:hover span{ /*CSS for enlarged image on hover*/  
 visibility: visible;  
 z-index: 0;
 top: -140px;  
 left: -50px; /*position where enlarged image should offset horizontally */  
 }