[thelist] CSS problem
Paul Backhouse
paul.backhouse at 2cs.com
Thu Jan 24 07:47:48 CST 2002
If i only have one form ont he page then place the <form> tag directly under
the <body> tag
<body>
<form>
And then end the form tag just above the body tag
</form>
</body>
If you have more than one form you can place trhem in table such as:
<table>
<form>
<tr>
<td>
</td>
</tr>
</form>
</table>
That should fix the problems with the space - but using form{ margin: 0;} is
a good way aswell (only in IE though is it 100% effective)
cheers
paul
-----Original Message-----
Jason Lustig <lustig at acsu.buffalo.edu>
> WHen you have forms inside of tables, be careful where you put the <form>
> and </form> tags -- netscape/mozilla (and IE6, I think) will mess with
your
> tablerows!
You can avoid this in all browsers except Netscape 4 (natch) by saying:
form { margin: 0; }
(Another commonly-used tactic is to put <form> directly inside <table>, but
that's way nasty, and invalid HTML to boot, so we won't mention it!)
--
Andrew Clover
More information about the thelist
mailing list