#gallery { border: 1px solid #999; } #gallery td { padding: 0; border: 0; } #gallery td p { font-size: 0.75em; font-style: italic; text-align: center; } #gallery td img { padding: 0 ; }