First, make sure you're using a good DOCTYPE or it won't work in IE.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Stick this where ever you're keeping your CSS and adjust to your needs:
HTML Code:
.thumb {
width:320px;
height:240px;
padding:4px;
background-color:#ffffff;
border-style:solid;
border-color:#000000;
border-width:1px;
}
Finally, make sure you remember to give each thumb the class:
HTML Code:
<img class="thumb" src="photo.jpg" alt="sexy photo" />