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 18 of 53 pages « First < 16 17 18 19 20 > Last »
Let's say the tumbnail is 1 inch wide, and the larger image it brings up is 3 inches wide. The text that I add below it (let's call it a caption) wraps inside of a 1-inch wide space. In the example below, I deliberately added a large string ("Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.") to illustrate how this wrapping occurs.
What do I need to do in order to set the text-wrapping space's width to the same width as the image?
<a class="thumbnail" href="#thumb">
Images/KNO07230.JPG<span>
Images/KNO07230.JPG
Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.</span>
</a>
If anyone has a workable solution for Opera, I'd really appreciate knowing?
Comment Pages 18 of 53 pages « First < 16 17 18 19 20 > Last »
Commenting is not available in this weblog entry.







<a class="thumbnail" href="#thumb">
Images/KNO07230.JPG<span>
Images/KNO07230.JPG
Thumbnail example that uses both thumbnail and full-size imagesfrolm the same image.</span>
</a>