I’m a Newbie looking for some assistance.
I have a photo gallery that works great. It is set up for two rows of thumbnails at the top and get displayed below as you hover over them - or click them. I have only one row of thumbnails and want to move the viewing box up and close that 1" gap. I can’t figure out how to do that. The markup I am using is below.
this can change the width of the viewing box
#container a.pics span {display:none; border:0; width:600px;
this can change the length of the viewing box
#container a.pics:active span {display:block; position:absolute; left:9px; top:192px; z-index:5; height:500px;}
But I can’t move the box itself up higher on the page. HELP !
a, a:visited, a:hover {}
#container {position:relative; width:620px; height:700px; background:none; border:1px solid none; margin:-20px auto; font
-family:verdana, arial, sans-serif; font-size:12px;}
#container a.pics {float:left; padding:7px 21px; display:inline; color:#000; text-decoration:none; width:75px;
height:75px; cursor:default;}
#container a.pics img.thumb {display:block; border:1px solid #595959;}
#container a.pics span {display:none; border:0; width:600px; background:#bbb; border:1px solid #fff; text-align:center;}
#container a.pics span img {margin:10px auto; border:1px solid #000;}
#container a.pics:hover {white-space:normal;}
#container a.pics:hover img.thumb {border:1px solid #fff;}
#container a.pics:hover span {display:block; position:absolute; left:9px; top:192px; z-index:10; height:500px;}
#container a.pics:active img.thumb {border:1px solid #4d7a7d;}
#container a.pics:active span {display:block; position:absolute; left:9px; top:192px; z-index:5; height:500px;}
#container a.pics:focus {outline:0;}
#container a.pics:focus img.thumb {border:1px solid #4d7a7d}
#container a.pics:focus span {display:block; position:absolute; left:9px; top:192px; z-index:5; outline:0; height:500px;}
#container span.info {clear:left; display:block; text-align:center; line-height:20px; margin:0; padding:200px 0 0 0;
width:600px; text-align:center; color:#eee; z-index:1;}
#container span.info a {color:#000;}
#container span.info a:hover {text-decoration:none;}
#container {position: absolute; top: 210px; left: 185px;}