- From: Bert Bos <bert@w3.org>
- Date: Fri, 6 Sep 2002 19:02:01 +0200
- To: <www-style@w3.org>
Tantek Çelik writes:
> E.g.
>
> br { line-break-after:always }
That would have been my preferred solution, but we never could get it
to work. The BR element, as implemented by Netscape long ago, behaves
in a strange way. It doesn't just cause a line break, it creates empty
lines as well, when there are several BRs in a row.
You cannot fix that by saying that 'line-break-after: always' inserts
both a zero-width space and a line break, because then
A, B {line-break-after: always}
<A>... <B>...</B></A>
would cause an empty line.
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.
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 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Friday, 6 September 2002 13:02:03 UTC