<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: absolute;
top: 50;
height:520
width:500
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1 px solid white;
margin: 0 0px 0px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1 px solid white;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #b1aca6;
padding: 0 px;
left: -1000px;
border: 0 px white;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;

left: 217px; /*position where enlarged image should offset horizontally */
top: 143px;
}

</style>

