W3C home > Mailing lists > Public > www-style@w3.org > June 2000


From: <pdf@bizfon.com>
Date: Thu, 1 Jun 2000 16:31:42 -0400
To: www-style@w3.org
Message-ID: <852568F1.0070C4B5.00@Enterprise>

IE and Netscape both have their own way of getting rid of margins.  In the BODY
tag you would place marginheight=0 and marginwidth=0 for Netscape, and
topmargin=0 and leftmargin=0 for IE.  Is there a way to accomplish this for both
IE and Netscape using style sheets?  I tried using the margin setting in a style
sheet, but it only worked for IE:

<style type="text/css">
body { margin: 0px; }

Any suggestions?  Or am I better off just keeping the non compliant method until
Netscape supports this?
Peter Foti
Received on Thursday, 1 June 2000 16:29:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:54 UTC