Click to See Complete Forum and Search --> : Form problem


hsdhman
09-04-2004, 09:49 AM
Hello!

I am trying to make a form that will be enclosed in a rather small table cell, but closing the FORM tag always creates an extra blank line that I cannot get rid of. See example. (http://www.zapwow.com/formtest.html)

How do I fix this, so that the extra line disappears?

Thanks!

PhillMc
09-04-2004, 09:55 AM
This is a quirk of IE based browsers. Try 'butting' the tags together:

<input></form>

as opposed to

<input>
</form>

This often works. If it does not, add this attribute to the opening form tag:

style="padding: 0px; margin: 0px;"

That should do the trick. :)

hsdhman
09-04-2004, 10:09 AM
The butting trick didn't work, but the css did. Thanks!

PhillMc
09-04-2004, 10:11 AM
No problem. :)