[thelist] CSS Margins in NN

gregory.john.toland at census.gov gregory.john.toland at census.gov
Thu Dec 21 20:07:38 CST 2000

I can get rid of the margins in IE (5.01 SP1) AND NN ( 4.7) with the
following code:

<body marginheight="0" marginwidth="0" marginleft="0" margintop="0">

The marginheight and marginwidth pertain to NN and the other two pertain to
IE.  If I delete these four attributes and have a style sheet for the BODY
tag such that:

     background-color : #FFFFFF;
     color : #000000;
     margin-left : 0px;
     margin-top : 0px;

then I loose the "marginless" page in NN.  Can margins be controlled within
CSS for NN?

Gregory J Toland
 Sr. Systems Architect
 CHM, Inc.
 (301) 457-8058
 tolan002 at census.gov

More information about the thelist mailing list