Inside Technique : Removing Margins
Both Netscape Navigator and Internet Explorer display a small default margin around your text. The size of this margin can be customized in Internet Explorer 3.0/ 4.0 and Netscape Navigator 4.0.
While you can customize the margins, you need to use a different technique for each browser. Internet Explorer 3.0 and Netscape Navigator 4.0 use their own proprietary enhancements, while Internet Explorer 4.0 relies on the approved CSS1 recommendation.
Internet Explorer 3.0
Removing margins from IE 3.0 requires you to use two attributes on the
Netscape Navigator 4.0
Netscape Navigator 4.0 uses a similar approach to Internet Explorer 3.0 for
removing margins. The only difference is Netscape has chosen to create two different proprietary attributes
than those used by Explorer 3.0. In
Navigator 4.0, you use the following two attributes on the
Internet Explorer 4.0
Internet Explorer 4.0 supports the
Using the in-line style directly on the
Bringing it all together
Both the Navigator 4.0 and Explorer 3.0 solutions require you to use non-standard, proprietary
attributes. Only Internet Explorer 4.0 correctly supports the CSS1
© 1997-2000 InsideDHTML.com, LLC. All rights reserved.