Posted by Neredbojias on 10/07/31 11:50
To further the education of mankind, "Stefan Mueller"
<seekware-remove-@yahoo.com> vouchsafed:
> Opera and Mozilla draw the border of the cells of the table just after
> the picture. With Internet Explorer I do always have a small space.
> If you select the image with the mouse you'll see that there's somehow
> a small space on the right and bottom side of an image in Internet
> Explorer.
>
> <table width = "100%" cellSpacing = "0" cellPadding = "0" border =
> "1"
> align = "center">
> <tr>
> <td>
> <img src = "mypic.gif">
> </td>
> </tr>
> <tr>
> <td>
> <img src = "mypic.gif">
> </td>
> </tr>
> </table>
>
> Does anybody know how to get rid of this annoying space?
> Stefan
Style the container (in this case table or td) with any/all of the
following:
line-height:0px;
font-size:0px;
vertical-align:bottom;
and, as mentioned, you could try display:block; on the images.
--
Neredbojias
Infinity has its limits.
[Back to original message]
|