.gallerycontainer{
position: relative;
}

.nametext img{
border: 1px;
}

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

.nametext:hover img{
border: 1px solid black;
}

.nametext span{ 
position: absolute;
background-color: gray;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
}

.nametext span img{ 
border-width: 0;
padding: 2px;
}

.nametext:hover span{ 
visibility: visible;
top: 40px; /*vertical offset */
left: 350px; /*horizontal offset */
z-index: 50;
}
