<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
/*overflow: visible;*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 0px 0px 0px;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: relative;
background-color: lightyellow;
padding: 0px;
left: 145px;
top: -100px;
border: 0px dashed gray;
display: none;
/*visibility: hidden;*/
color: black;
text-decoration: none;
z-index: -50;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
width:350px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
position: relative;
overflow: visible;
display: block;
/*visibility: visible;*/
top: -100px;
left: 145px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>

