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 38 of 42 pages « First < 36 37 38 39 40 > Last »
the dimensions are different for ie and ff, so i used the little code mentioned on page 35 of the comments here to adjust the ie sizes.
Advice greatly appreciated
EXACTLY what was needed for this non-profit feline rescue site and so slick without javascript! I now have to wrestle the CSS to put it where I want, but the effect is GREAT!
It left highlighted code in my Dreamweaver window when I added it to the head of this page, so I put it into the main .css doc, and that worked better for me.
I figured out that the attribute
left: 60px; /*position where enlarged image should offset horizontally */is where i needed to move the resultant image to the other side by using 512px
now to figure out how to move it UP... Gawd, I hate CSS. :)
AHA, it's here...
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -100;
/*top: 0;*/TRA-LA-LA!!!
Works beautifully, except cannot get thumbnail image to post. Enlargement works fine. Have tried renaming, etc. Checked code carefully. Any suggestions?
Comment Pages 38 of 42 pages « First < 36 37 38 39 40 > Last »









http://css-lessons.ucoz.com/css-text-properties.htm