[Javascript] (Slightly OT) padding around images

Lau lau at goldenweb.com.au
Wed Aug 22 02:19:51 CDT 2001


Don't worry, I solved... it all I had to do was set ALIGN=ABSBOTTOM in the IMG tag.

Thanks,
Lau
  ----- Original Message ----- 
  From: Lau 
  To: javascript at LaTech.edu 
  Sent: Wednesday, August 22, 2001 4:43 PM
  Subject: [Javascript] (Slightly OT) padding around images


  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/5c27673b/attachment.htm>


More information about the Javascript mailing list