I can't seem to make a local mock up of the page. I think the server doesn't allow hotlinking. That makes it difficult to be certain. But this (replace your existing ddphpalbum.css file with it) works well in Firefox developer tools:
Code:
/* ######### CSS for PHP Photo Album itself ######### */
#phpphotoalbum1 {
width: 840px;
margin: 0 auto;
}
.photodiv{ /*CSS for DIV containing each image*/
float: left;
margin-bottom: 10px;
width: 280px;
text-align:center;
}
.photodiv img{ /*CSS for each image tag*/
border: 2;
height: 70px;
cursor: hand;
cursor: pointer;
}
.albumnavlinks{ /*CSS for DIV containing the navigational links*/
text-align: center;
}
.albumnavlinks a{ /*CSS for each navigational link*/
margin-right: 5px;
padding: 1px 5px;
border: 1px solid #9aafe5;
text-decoration: none;
color: #C0C0C0;
font-weight: bold;
}
.albumnavlinks a:hover, .albumnavlinks a.current{ /*CSS for currently selected navigational link*/
border: 1px solid #C0C0C0;
background-color: grey;
}
/* ######### CSS for thumbnail viewer plugin ######### */
#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 8px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 10;
cursor: hand;
cursor: pointer;
-ms-filter: "progid:DXImageTransform.Microsoft.dropShadow(color=#818181, offX=5, offY=5, positive=true)"; /* IE8 drop shadow*/
filter: progid:DXImageTransform.Microsoft.dropShadow(color=#818181, offX=5, offY=5, positive=true); /* IE drop shadow*/
}
#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: bold 14px Tahoma;
letter-spacing: 5px;
line-height: 1.1em;
color: white;
padding: 5px 0;
text-align: right;
}
#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: white;
margin: 5px;
}
#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
position: absolute;
visibility: hidden;
border: 1px solid black;
background-color: #EFEFEF;
padding: 10px;
font: bold 14px Arial;
z-index: 5;
}
Notes:
For parts of this to work in IE the page needs a standards invoking DOCTYPE. Place this as the very first thing before the opening <html> tag:
And, as I said, I couldn't fully test it, so some tweaking may be required.
Bookmarks