I've added a border around my thumbnails, but for some reason there is a space between the edge of the image and the border. Strange thing is that it only occurs on the images that have a portrait orientation.
See http://www.pbase.com/chewieg2/may04 for an example.
Can anyone tell me how to get rid of it?
Here's the css code that I used:
div,th,tr,table,font,li,ul,form,
blockquote,p,b,i,h1,h2,h3,h4,h5,font, center {
border: 0px;
color: rgb(91, 91, 101);
font: 12px verdana, arial, sans-serif;
}
font {
margin-left: 4px;
margin-right: 4px;
width: 170px;
display: block;
color: rgb(91, 91, 101);
font: 9px Verdana, Tahoma, Helvetica, sans-serif;
letter-spacing: 0px;
}
a.td.thumbnail, a.td.thumbnail:link, a.td.thumbnail:visited, a.td.thumbnail:active {
border: rgb(0, 0, 0) 2px solid;
border-right: rgb(0, 0, 0) 2px solid;
display: block;
background: rgb(238, 237, 234);
}
a.td.thumbnail:hover {
border: rgb(95, 121, 216) 2px solid;
border-right: rgb(95, 121, 216) 2px solid;
display: block;
background: rgb(238, 237, 234);
}
img.display {
border: rgb(0, 0, 0) 2px solid;
border-right: rgb(0, 0, 0) 2px solid;
display: block;
}
Thanks!