PDA

View Full Version : CSS Pop Up Image Vertical Alignment



DS928
02-21-2013, 05:18 PM
1) Script Title: CSS Popup Image Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/P20/

3) Describe problem: I need the image to go above the small thumbnail. Not below it. How can this be done. Thank you.

Beverleyh
02-21-2013, 05:34 PM
Untested but it looks like changing the top and left values in the CSS here should do it;
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */
}

DS928
02-21-2013, 05:57 PM
Yeah I was adjusting the top and nothing was happening. Then bingo! It happened. I've been having problems with my server updating my files. That was the problem. Thank you for confirming that I was in the right place.