Table within a Form results in Extra Space BELOW the Table?

Giganews Newsgroups
Subject: Table within a Form results in Extra Space BELOW the Table?
Posted by:  prub…@equilter.com
Date: Sat, 11 Apr 2009

When a table is placed within a form, the result is extra vertical
space below the table. Is there any way around this problem?

Here is a sample:

</head>
<body>
<table border="0" width="620" cellpadding="0" cellspacing="0">
  <tr>
    <td>
    <form method="POST" action="test.html">
          <table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td>
              Test</td>
              <td>
              <input type="text" name="T1" size="20"></td>
            </tr>
          </table>
    </form>
    </td>
  </tr>
  <tr>
    <td>TEST TEXT</td>
  </tr>
</table>
</body>
</html>

When you view this, you'll see space below the form field, above the
'TEST TEXT'.
Please advise how to eliminate this space, while still conforming to
markup specifications.

Replies