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

Re: Section 8.2 - Example of margins, padding, and borders

From: Bert Bos <Bert.Bos@sophia.inria.fr>
Date: Mon, 27 Apr 1998 00:27:28 +0200 (MET DST)
To: jon seymour <jon@zeta.org.au>
cc: www-style@w3.org, howcome@w3.org
Message-ID: <Pine.LNX.3.93.980427002431.2905D-100000@charlotte.inria.fr>
On Sun, 26 Apr 1998, jon seymour wrote:

> Re: http://www.w3.org/TR/PR-CSS2/box.html#mpb-examples
> 
> I wonder if the example (boxdimeg.gif) is perhaps a little misleading,
> because it appears as if the margin has been rendered in orange when, in
> fact, it should be transparent. In which case, I presume, the area
> containing the margin of the UL element should be rendered in the
> backround colour of the containing element, in this case BODY which does
> not have a background colour specified.
> 
> Of course, it is possible that I have misinterpreted the diagram used in
> the example, and the outer region of the orange rectangle is not, in
> fact, the margin of the UL element.

You're right, the diagram is misleading. The margin of the UL is
better drawn without the orange color.


Bert
--
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/INRIA
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 4 93 65 76 92               06902 Sophia Antipolis Cedex, France
  +33 (0)4 92 38 76 92 (<--- after 5 Jan 1998)
Received on Sunday, 26 April 1998 18:52:14 GMT

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