<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*/
}

.text {
	background-color:#FF00FF;
	width: 400px;
	
	float: left;
}

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

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

.thumbnail:hover img{

}

.thumbnail span{ /*CSS for enlarged image*/
position: fixed;
background-color: #FBCDEC;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: 8B6852;
	background-position: left;
}

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

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 40px;
left: 310px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>
