[thelist] <FORM> Whitespace

Jackson Yee jyee at vt.edu
Mon Aug 12 06:37:00 CDT 2002


----- Original Message -----
From: "Chris" <axe at suburbia.com.au>
To: "Thelist" <thelist at lists.evolt.org>
Sent: Monday, August 12, 2002 01:30
Subject: [thelist] <FORM> Whitespace


> Is there any 'correct' way to avoid <form> & <input type='hidden'> from
> adding whitespace to a given HTML doc?

Have you tried adding the CSS styles

form
{
  margin: 0px;
  padding: 0px;
}

to the page?  <form> is a block-level element like <p> and <h1>, so it might
come with default margins.

Regards,
Jackson Yee
jyee at vt.edu
http://www.jacksonyee.com/




More information about the thelist mailing list