[Javascript] (Slightly OT) padding around images

Lau lau at goldenweb.com.au
Wed Aug 22 01:43:14 CDT 2001


I have a table with rows that contain one or more small images followed by some text.
I want the images to touch the image from the next and previous rows, unfortunately they allways end up with
some padding between the rows.
I can get them to stick together if I only have and image and no text in the row, or if I create a
column for each image so that text and images aren't mixed in the same column. However I don't know how many images there will be and therefore can't use the many columns approach.
VALIGN doesn't seem to help.
How can I do this?


<table width=130 border=0 cellspacing=0 cellpadding=0>
<tr><td width=130><img src="/images/image1.gif" width=15 height=22 border=0>aaa</td></tr>
<tr><td width=130><img src="/images/image2.gif" width=15 height=22 border=0>aaa</td></tr>
</table>


Thanks in advance
Lau


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010822/3b7f2b21/attachment.htm>


More information about the Javascript mailing list