/* pjteentest.html */ /*Trans Box Header*/ div.background { background: url(bookshelf.jpg); border: 2px solid black; } div.transbox { margin: 30px; background-color: #ffffff; border: 1px solid black; opacity:0.7; filter:alpha(opacity=70); /* For IE8 and earlier */ } div.transbox h1 { margin: 5%; font-weight: bold; text-align: center; color: #000000; } /*image gallery*/ div.img { margin: 5px; padding: 5px; border: 1px solid #000000; height: auto; width: auto; float: left; text-align: center; } div.img img { display: inline; margin: 5px; border: 1px solid #000000; } div.img a:hover img { border: 1px solid #000000; } div.desc { text-align: center; font-weight: normal; width: 120px; margin: 5px; } div.gallery { margin:0 auto; width: 800px; }