Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing spaces above and below forms

Status
Not open for further replies.

jeffcullina

Programmer
May 13, 2002
80
US
I have a form on a page with a line of text above it and a line of text below it. For some reason, I get a blank line between the text and the form. I do not have any html tags that would cause that (other than <form>). Is there a way to get rid of that blank line?
 
This is annoying isn't it?

This way works, but it's assuming that your form is within a table. What to do is move the closing
Code:
</form>
tag outside the
Code:
</td>
but within the
Code:
</tr>
... if you know what I mean.

Here's an example:

Code:
<form... blah blah blah
...
...
<br>My text without the whitespace
</td>
</form>
</tr>

This will remove the whitespace that existed between the form and the line of text.

It's not ideal, but it works.

Hope this helps,
Craigieboy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top