Results 1 to 4 of 4

Thread: HTML Table Problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    Egypt
    Posts
    179

    HTML Table Problem

    Hello,

    I observed that each new row "<TR>" in a table makes small distance between it and the previous table, I want to set this distance to 0 "ZERO", so when I devide a picture and ditribute it into table cells, it seems no distorted or divided.

    Here is the TABLE tage I used:
    <TABLE border="0" width="100%" cellpadding="0" cellspacing="0">

    What changes should I do?

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    That shd do, plus add a border=0 in the img tag as well.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Location
    Egypt
    Posts
    179
    Yes, The image border is set to "0", but still there is space between rows not columns

    here is the example I have, please goto the following page:

    http://www.taif-eg.com/wol/basic.html

  4. #4
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    Use this:

    Code:
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <body bgcolor="#FFFFFF" text="#000000">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="head1.jpg" width="780" height="126" ></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><img src="head2.jpg" width="780" height="112"></td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width