.thumbnail{
position: relative;
z-index: 0;
}



.thumbnailxx{
position:absolute;  
left:100px;
top:150px;
}

.thumbnail:hover{
background-color:transparent;
z-index: 5;
}

.thumbnail span{ /*CSS for enlarged image and text */
position: absolute;  /* funkar olika för IE8 och firefox */
background-color: lightyellow;
padding: 0px;
left: -1000px;
border: 1px;
visibility: hidden;
color: black;
text-decoration: none; 
}

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

.thumbnailccc:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0px;
left: 30px; /*position where enlarged image should offset horizontally */

}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -230;
left: -1px; /*position where enlarged image should offset horizontally */
}

