W3C home > Mailing lists > Public > www-style@w3.org > March 1998

Re: the BOX properties

From: David Perrell <davidp@earthlink.net>
Date: Fri, 6 Mar 1998 18:51:36 -0800
Message-ID: <012a01bd4973$f2c056c0$3f8cd9cf@davidp>
To: <www-style@w3.org>

michael <michael@net-make.com> wrote:

>Working with IE4 (win95), this works as expected:
>border-top: solid;
>border-bottom: solid;
>border-left: solid;
>border-right: solid;
>border-color: #000000;
>border-width: 5pt;
>The results are very different in NN4 though. Navigator treats this
more as
>a table border than a document border - outlining the contents of the
>rather than a solid border around the window.

Margins are outside borders. If BODY is a block-level element and has
margins by default, the border produced by the above declarations should
not abut the edge of the window.

In IE4, both margins and padding on BODY are within the border, as is
the scroll bar for the window. I don't find anything in the CSS1 spec
that would cause me to expect this.

NN4.01 is rendering margins outside the border, which is in accordance
with the spec.

David Perrell
Received on Friday, 6 March 1998 21:51:21 UTC

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