W3C home > Mailing lists > Public > www-style@w3.org > September 2002

Re: CSS2.1: \A and white-space

From: Claus Färber <list-w3c-style@faerber.muc.de>
Date: 07 Sep 2002 18:57:00 +0200
To: www-style@w3.org
Message-ID: <8WO$yqgocDB@3247.org>

Bert Bos <bert@w3.org> schrieb/wrote:
> If anybody can come up with a definition where

>     A {line-break-after: always}
>     <A><A></A></A>

> causes no empty line, while

>     A {line-break-after: always}
>     <A></A><A></A>

> does, then I'd be happy.

What about a new keyword for that property? "line-break-before: force"
could always insert a line break even if there is already one (whereas
"always" only produces line breaks if there is not).

On the other hand, you could just use this:

  br {line-break-after: always; content: "\FEFF"; }

which is very close to what the <br> actually does in the tag soup
browsers you mentioned.

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Received on Saturday, 7 September 2002 09:10:46 GMT

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