1) Script Title: CSS Image Gallery
2) Script URL (on DD): http://www.dynamicdrive.com/style/cs...image-gallery/
3) Describe problem:
I'm having a hard time getting the target image placement correct.
The moon image needs to be on top of the alphabet image.
And when you mouse-over a thumbnail, for example the sun face, that's suppose to be on top of the alphabet image, as well.
Happy to pay for help!
Image and coding below.
Code:/* Begin DynamicDrive Gallery --------------------------------------------------------------------------------- */ /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .navigation_container { /*position: relative;*/ /*Add a height attribute and set to largest image's height to prevent overlaying*/ height: 20px; margin:0 auto; text-align:center; top: 0px; border:0px solid #0f0; font-weight:bold; } .navigation_container a{width:16px;height:20px;line-height:20px;text-decoration:none;color:#666;} .navigation_container td{height:20px;line-height:20px;font-size:10px;color:#f00;} .pageActive{ display:block; width:16px; height:20px; background-image:url('graphics/yellow_dot.gif'); background-repeat:no-repeat; background-position:center; } .product_description { position: relative; /*Add a height attribute and set to largest image's height to prevent overlaying*/ height: 0px; width: 256px; left: 158px; text-align: center; } .gallerycontainer { position: relative; /*Add a height attribute and set to largest image's height to prevent overlaying*/ /*height: 0px;*/ height:auto; width: 380px; left: 480px; text-align: center; top: 0px; border:0px solid #0f0; } .thumbnail img { margin: 0 2px 0px 0; } .thumbnail:hover{ background-color: transparent; } .thumbnail:hover img { } .thumbnail span { /*CSS for enlarged image*/ position: absolute; padding: 2px; left: -500px; visibility: hidden; color: black; text-decoration: none; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 0px; } .thumbnail:hover span { /*CSS for enlarged image*/ visibility: visible; top: 53px; left: -238px; /*position where enlarged image should offset horizontally */ z-index: 50; } dl { text-align: center; font-size: .95em; margin-top: 25px; } dt,dd { width:4.5em; float:left; } dt { margin-bottom: 2.8em; width: 70px; text-align: center; } dd { margin: 57px 0 0 -5.5em; text-align: center; font-size: 8pt; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none; line-height: 10pt; } img.tn { vertical-align: bottom; padding: 2px; border: 0em; text-align: center; } em { display: block; font-weight: bold; margin-bottom: 5px; } dl a:hover img,dl a:active img,dl a:focus img { }




Reply With Quote

Bookmarks