Posted by vijay.khambe on 12/23/69 11:50
Hey a simple solution... just put a <br> after img src....
i.e.
<td>
<img src = "mypic.gif"><br>
</td>
thats it.. all space will be removed...
Neredbojias wrote:
> 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.
Navigation:
[Reply to this message]
|