I have a 3x3 table with a thumbnail image in the 4 corner cells - they're links to full size screenshots.
I want to put a 5 pixel border around each thumbnail image, so I set 'cellpadding="5"'. This works in IE, but in Firefox and Opera, the bottom of each image border is wider than 5 pixels, for some reason.
Anyone know how I can fix this?
Source:
Cheers!
I want to put a 5 pixel border around each thumbnail image, so I set 'cellpadding="5"'. This works in IE, but in Firefox and Opera, the bottom of each image border is wider than 5 pixels, for some reason.
Anyone know how I can fix this?
Source:
<table style="text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="5" cellspacing="0"> <tbody> <tr> <td style="background-color: rgb(20, 62, 41);"> <a target="_blank" href="images/screen1_big.png"><img style="border: 0px solid ; width: 200px; height: 150px;" alt="" src="images/screen1_small.png"></a></td> <td style="width: 20px;"></td> <td style="background-color: rgb(20, 62, 41);"> <a target="_blank" href="images/screen2_big.png"><img style="border: 0px solid ; width: 200px; height: 150px;" alt="" src="images/screen2_small.png"></a></td> </tr> <tr> <td style="height: 20px;"></td> <td style="height: 20px;"></td> <td style="height: 20px;"></td> </tr> <tr> <td style="background-color: rgb(20, 62, 41);"> <a target="_blank" href="images/screen3_big.png"><img style="border: 0px solid ; width: 200px; height: 150px;" alt="" src="images/screen3_small.png"></a></td> <td style="width: 20px;"></td> <td style="background-color: rgb(20, 62, 41);"> <a target="_blank" href="images/screen4_big.png"><img style="border: 0px solid ; width: 200px; height: 150px;" alt="" src="images/screen4_small.png"></a></td> </tr> </tbody> </table>
Cheers!