Log in

View Full Version : Pop up image with text on right



followhim
02-01-2010, 08:27 PM
<a class="thumbnail" href="#thumb"><img src="media/tree_thumb.jpg" width="100px" height="66px" border="0" /><span><img src="media/tree.jpg" /><br />Simply beautiful.</span></a>

I copied this codefrom(It is excellent code thank you):
http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/

how can i have text" simpley beautiful" on the right side of the image.

thanks for reading...n help please

Nile
02-02-2010, 02:14 AM
Add the highlighted:


.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
text-align: right;
}