Below Form, how to delete space

G

Guest

I am putting a form into a cell in a table. I need the bottom of the form
(submit button) to be tight against the bottom of the cell. When editing,
there is no space (as if there was a hard return), but as soon as I view in
ie, there is a space between the form and the bottom of the cell. I can't
figure out how to delete that space or line. Please please help a frustrated
fp soul...

When editing, there is no space
Rob
 
M

Murray

Use CSS to set the bottom-margin on the <form> tag to zero, e.g.,

<style type="text/css">
<!--
form { margin-bottom:0; }
-->
</style>
 
J

Jon Spivey

Hi,
try sticking the form tags outside the table, eg
<form....
<table....
stuff
</table>
</form>
I'm guessing you have
<table...
<tr><td>
<form....
</form>
</td>
 
G

Guest

Jon,
I used your suggestion, and that works perfectly for the form and getting
rid of the space!!! But, now the space that I can't get rid of is after the
table. So the form closing tag creates a space? Am I missing something?
Any suggestions?

Becuase I am a beginner, I don't know what i am talking about, but If I
understand it correctly, I can't use the other suggestion (css) becuase it is
a javascript form, not css. Is this an accurate statement?

What else can i do? Will there always be a blank line after every form?
 
M

Murray

Is this an accurate statement?

I don't think so. What you have observed is *exactly* what you should have
observed, using Jon's suggestion.

Try adding my suggested markup directly above the </head> tag and see what
happens.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top