</form> tag causes white space in my layout

I'm trying to get a form to be totally contained in a table cell.  The only problem is, whenever I add the close form tag (</form>), IE automatially inserts a set amount of white space below the form.  Even if I set the height of the cell explicitly, it is still overridden by this close form tag.  Any ideas?
siteupAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ALaRivaCommented:
If possible, we'd need to see the page (a link).  Or at least, just the code for the page.  This isn't normal behavior, so something must be going on.

-Anthony
0
siteupAuthor Commented:
<html>
<body>

<form method="POST" action="foo.php">
      <p><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="1" width="100%">
      <tr>
            <td>&nbsp;</td>
            <td width="619">
            <form method="POST" action="foo2.php">
                  <p><input type="text" name="T2" size="20"><input type="submit" value="Submit" name="B3"><input type="reset" value="Reset" name="B4"></p>
            </form>
            </td>
      </tr>
</table>

</body>

</html>
0
siteupAuthor Commented:
the first form has no white space below it.  if you look at the form in the table, it does.  but if you take out the </form> tag from the one in the table, the white space goes away. . .but then of course the form doesn't work properly.
0
Diablo84Commented:
try adding style="display:inline;" in your form tag, eg:

  <form method="POST" action="foo2.php" style="display:inline;">
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.