W3C home > Mailing lists > Public > www-style@w3.org > December 1995

run-in headings possible in CSS1?

From: Bert Bos <Bert.Bos@sophia.inria.fr>
Date: Fri, 8 Dec 1995 18:16:19 +0100
Message-Id: <199512081716.SAA23209@www42.inria.fr>
To: www-style@w3.org
Scott E. Preece writes:
 > The description of the formatting model isn't quite clear enough to let
 > me answer this question: Is it possible to do run-in headings in CSS1?

No, it isn't.

We've thought about this, since it is also needed for the <DL> list:

   ITEM.  Description more des-
      cription description.
   ITEM.  Description more des-
      cription description.

However, we decided to limit ourselves to `block' and `inline' (and
now `canvas') in level 1. One way of adding it later would be to allow
a sort of `half-block', one that has a line break before, but not
after (and the other way round):

  DL { margin-left: 6em}
  DT { flow: break-before; indent: -3em }
  DD { flow: break-after }

  Bert Bos                                ( W 3 C ) http://www.w3.org/
  bert@w3.org                                  INRIA project RODEO/W3C
  http://www.w3.org/pub/WWW/People/Bos/   2004 Rt des Lucioles / BP 93
  +33 93 65 77 71                 06902 Sophia Antipolis Cedex, France
Received on Friday, 8 December 1995 12:16:26 UTC

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