CSS Library: Image CSS: Here
CSS Popup Image Viewer
Author: Dynamic Drive
Enable arbitrary links or image thumbnails to pop up an enlarged (different) image onMouseover by using this CSS code. With the help of CSS's ":hover" pseudo class, combined with relative and absolute positioning, the enlarged images are simply included on the page as normal HTML, "popping" up on demand. CSS is behaving more and more like scripting!
Demo:
One of my favorite foods is sushi
Doesn't this look good?, and it's good for you too! Coffee and sushi probably don't mix well, but I like some Zoka Coffee
Zoka Coffee to boot! Here are some thumbnails from my trip to La la land:
![]()

Simply beautiful.
![]()

So real, it's unreal. Or is it?
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 53 of 53 pages « First < 51 52 53
.mapthumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -150;
left: -150px; /*position where enlarged image should offset horizontally */
the top and left attributes tell it where to show the large image relative to the thumbnail....so if you want the image to display in the middle of the page you just mess with these numbers....and use negative values to make it move left or up
Leather Sofa

