I added these styles (highlighted) and changed the top (red) for the img hover:
Code:
#gallery {width:750px;}
#gallery ul li a span {visibility:hidden;position:absolute; top:-53px;}
#gallery ul li a:hover span {visibility:visible;color:#555;left:182px;font-weight:bold;white-space:nowrap;}
#gallery ul {list-style:none; padding:0; margin:0; width:180px; position:relative; float:left;}
#gallery ul li {display:inline; width:52px; height:52px; float:left; margin:0 0 5px 5px;}
#gallery ul li a {display:block; width:50px; height:50px; text-decoration:none; border:1px solid #000;}
#gallery ul li a img {display:block; width:50px; height:50px; border:0;}
#gallery ul li a:hover {white-space:normal; border-color:#ddd;}
#gallery ul li a:hover img {position:absolute; left:180px; top:-50px; width:auto; height:auto; border:0 }
And this (example markup highlighted):
Code:
<li><a href="#nogo"><img src="mini/2-mini.jpg"><span>My Caption</span></a></li>
Using FF's developer extension. It seems to work out.
Bookmarks