Re: Body Margins

by Nathan Lyle <natelyle(at)chartermi.net>

 Date:  Wed, 14 Nov 2001 21:14:51 -0500
 To:  "Christie Cooksey" <christie(at)thearmidalemall.com>
 Cc:  hwg-techniques(at)hwg.org
 References:  christie
  todo: View Thread, Original
> I'm finding conflicting information on the web...
> Does NetScape4 support margin attributes in the body tag?
> ...as in...
> <BODY leftmargin="0" rightmargin="0" topmargin="0" marginheight="0"
> marginwidth="0">>

I'm not sure what's "official", but I've found that the above works in
both Netscape and IE 4.x and up. But, I've *also* had to include a
table to make sure that things bump up to the edge.

<.body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>
<.table border=0 width="99%" cellpadding=0 cellspacing=0>
<.tr><td>
page content/html stuff....
<./td><./tr>
<./table>
<./body>

Hope that helps. :)

~Nathan (natelyle(at)chartermi.net)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA