.galleryborder {border-style: none;border-width: 1px;border-color:#aaa;} .thumbdiv{margin-bottom:6px;margin-top:6px;margin-right:6px;margin-left:20px;padding:5px;text-align:center;width:203px;float:left;border:1px white }