.gallerycontainer{
position: relative;
align: center;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}



.thumbnail:hover{
background-color: transparent;
align: center;
}



.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #E4E4DC;
//padding: 5px;
//left: -1000px;
//border: 1px dashed gray;
align: center;
visibility: hidden;
color: black;
text-decoration: none;
}



.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 0px; /*position where enlarged image should offset horizontally */
z-index: 100;
}