[thelist] CSS problem

Andrew Clover and at doxdesk.com
Thu Jan 24 07:40:25 CST 2002


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
mailto:and at doxdesk.com
http://and.doxdesk.com/




More information about the thelist mailing list