[thelist] <FORM> Whitespace

jon steele jjsteele22 at yahoo.com
Mon Aug 12 09:32:45 CDT 2002


--- Chris <axe at suburbia.com.au> wrote:
> Hello,
>
> Is there any 'correct' way to avoid <form> & <input type='hidden'> from
> adding whitespace to a given HTML doc?
>
> On my page I have something along the lines of:
>
> <div id="1">Some Heading</div>
> <form action="process" method="post">
> <input type="hidden" name="a" value="1" />
> <input type="hidden" name="b" value="2" />
> <table>
> ....
> </table>
> </form>
>
> And the problem is between the <div> and the <table> I am seeing a large gap
> where no gap was before I inserted the <form>.
>
> Is there any way to prevent this?

That is a margin problem with respect to the form tag.

<form action="process" method="post" style="margin:0px">

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



More information about the thelist mailing list