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:
>
>BODY
>{
>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
doc
>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT