#center1 {
position:relative; 
width:600px; 
height:688px; 
color: #464c64;
background: #a7aeb8; 
border: 1px solid #5f7797; 
margin:0 auto;
}

a.gallery, a.gallery:visited {
display:block; 
color: #464c64;
background: #a7aeb8;
text-decoration:none; 
border: 1px solid #5f7797; 
width:75px; 
height:75px; 
float:left; 
margin:4px; 
padding:0px;
z-index:50;
}
<!--dobie gallery 1-->

a.slidea {background:url(photo/thumb/birth/birth_t1.jpeg);background-repeat: no-repeat;}

a.slideb {background:url(photo/thumb/birth/birth_t2.jpg);background-repeat: no-repeat;}

a.slidec {background:url(photo/thumb/birth/birth_t3.jpg);background-repeat: no-repeat;}

a.slided {background:url(photo/thumb/birth/birth_t4.jpg);background-repeat: no-repeat;}

a.slidee {background:url(photo/thumb/birth/birth_t5.jpg);background-repeat: no-repeat;}

a.slidef {background:url(photo/thumb/birth/birth_t6.jpg);background-repeat: no-repeat;}

a.slideg {background:url(photo/thumb/birth/birth_t7.jpg);background-repeat: no-repeat;}

a.slideh {background:url(photo/thumb/birth/birth_t8.jpg);background-repeat: no-repeat;}

a.slidei {background:url(photo/thumb/birth/birth_t9.jpg);background-repeat: no-repeat;}

a.slidej {background:url(photo/thumb/birth/birth_t10.jpg);background-repeat: no-repeat;}

a.slidek {background:url(photo/thumb/birth/birth_t11.jpg);background-repeat: no-repeat;}

a.slidel {background:url(photo/thumb/birth/birth_t12.jpg);background-repeat: no-repeat;}

a.slidem {background:url(photo/thumb/birth/birth_t13.jpg);background-repeat: no-repeat;}

a.sliden {background:url(photo/thumb/birth/birth_t14.jpg);background-repeat: no-repeat;}

<!--dobie gallery 2-->

a.slideb1 {background:url(thumb3.jpg); background-repeat: no-repeat;}

a.slidec1 {background:url(thumb4.jpg); background-repeat: no-repeat;}

a.slided1 {background:url(thumb5.jpg); background-repeat: no-repeat;}

a.slidee1 {background:url(thumb6.jpg); background-repeat: no-repeat;}

a.slidef1 {background:url(thumb7.jpg); background-repeat: no-repeat;}

a.slideg1 {background:url(thumb8.jpg); background-repeat: no-repeat;}

a.slideh1 {background:url(thumb9.jpg); background-repeat: no-repeat;}

a.slidei1 {background:url(thumb10.jpg); background-repeat: no-repeat;}

a.slidej1 {background:url(thumb11.jpg); background-repeat: no-repeat;}

a.slidek1 {background:url(thumb11.jpg); background-repeat: no-repeat;}

a.slidel1 {background:url(thumb11.jpg); background-repeat: no-repeat;}

a.slidem1 {background:url(thumb11.jpg); background-repeat: no-repeat;}

a.sliden1 {background:url(thumb11.jpg);background-repeat: no-repeat;}

a.gallery span {
display:block; 
position:absolute; 
width:1px; 
height:1px; 
top:5px; 
left:5px; 
overflow:hidden; 
color: #464c64;
background: #a7aeb8;
z-index:100;
}

.slideo {
display:block; 
position:absolute; 
width:512px; 
height:512px; 
top:170px; 
left:44px;
padding:0; 
color: #464c64;
background: #a7aeb8;
border: 1px solid #5f7797;
}

a.gallery:hover {
white-space:normal; 
color: #464c64;
background: #a7aeb8;
border: 1px solid #5f7797;
}

a.gallery:hover img {
color: #464c64;
background: #a7aeb8;
border: 1px solid #5f7797;
position:relative; 
z-index:100;
}

a.gallery:hover span {
display:block; 
position:absolute; 
width:500px; 
height:500px; 
top:172px; 
left:46px; 
padding:5px; 
font-style:italic; 
color: #464c64;
background: #a7aeb8;
z-index:100;
}

a.gallery:active {
border: 1px solid #5f7797;
}

a.gallery:active img, a.gallery:focus img {
border: 1px solid #5f7797; 
position:relative; 
z-index:50;
}

a.gallery:active span, a.gallery:focus span {
display:block; 
position:absolute; 
width:402px; 
height:300px; 
top:120px; 
left:5px; 
padding:5px; 
font-style:italic; 
color: #464c64;
background: #a7aeb8;
z-index:50;
}