Click to See Complete Forum and Search --> : HTML Form Problem
mxmike
04-13-2005, 11:32 AM
I am trying to create a simple form. All it is one submit button that sends one hidden field. The problem is that below the button there is some invisible space. There is nothing there, but it pushes my table cell downward about 5 pixels. :mad: Does anyone know how to remove this?
leocharre
04-15-2005, 08:39 PM
Form tags by default have space on top and bottom. What Fang suggests is to set that to nothing. You do this by placing a css definition of form tags to nothing. You can do this by placing an inline style in the header, or by external css.
Before you html </head> tag;
<style>
form {margin:0px;}
</style>
Keep in mind this does this for *all* form areas.