.phgallery_albums { background: #333; font-weight: bold; padding: 5px 10px; color: white; border-radius: 2px; } img.imgmain { background: white; border: 1px solid silver; padding: 1px; } a.phalbums { display: block; position: relative; width: 320px; height: 320px; float: left; margin: 10px; color: white; text-decoration: none; } a.phalbums:hover { box-shadow: 0 0 10px 2px rgba(0,0,0,0.3); color: white; text-decoration: none; } a.phphotos { display: block; position: relative; width: 180px; height: 120px; float: left; margin: 10px; color: white; text-decoration: none; } a.phphotos:hover { box-shadow: 0 0 5px rgba(0,0,0,0.3); color: white; text-decoration: none; }