Re: Controlling margins

by Byron Canfield <barn(at)byronc.com>

 Date:  Fri, 17 Apr 1998 08:02:14 -0700
 To:  alchugby(at)worldnet.att.net,
hwg-graphics(at)hwg.org
 In-Reply-To:  att
  todo: View Thread, Original
At 10:06 PM 4/16/98 -0700, Albert Chu wrote:
>Two questions: 1.  I wonder whether people using other browsers than NN3
>can see the page the same way I do, i.e. with colored bands matching the
>banner.  2.  How can I eliminate the white band on top of the banner?

As mentioned in another post, different browsers handle page margins
differently--even different VERSIONS of the SAME browsers handle them
differently. Netscape 4.0 honors the margins (left and top) for the BODY
tag, but Netscape 3.0 does not.

By setting LEFTMARGIN=0 and TOPMARGIN=0 in the BODY tag, you can eliminate
the unsightly band in IE 3, IE 4 and Netscape 4, but they will still be
there in Netscape 3. To truly eliminate them, you need to set up a single
frame page--frames have their own controlling margins (which you should set
to zero, as well as the above settings in the BODY tag of the HTML file
placed within the frame. Then, of course, the page does not display
properly when viewed in browsers that are not capable of displaying frames.
You just can't win. :)

Byron Canfield (http://www.byronc.com)
Art Director, ZDNet AnchorDesk
http://www.anchordesk.com
==============================
    "The wild places
     are where we began.
     When they end,
     so do we."
         --David Brower

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.