W3C home > Mailing lists > Public > www-style@w3.org > October 2000

Re: simulating <br>

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Tue, 24 Oct 2000 17:00:06 -0400 (EDT)
Message-Id: <200010242100.RAA12394@is03.fas.harvard.edu>
To: fantasai@escape.com, www-style@w3.org
On Tue, 24 Oct 2000 16:54:17 -0400, fantasai (fantasai@escape.com)
wrote:
> This seems to work:
> <p>This is the beginning of a paragraph which has
> <span style="display: block; height: 0"></span>
> a break and finishes off after the interruption.</p>
> 
> I must be missing some fundamental flaw. It's too easy.
> I think I came up with one six months ago, but I don't recall what it was...
> Anyone?

<br><br>

(I'm assuming you were asking for the flaw in treating BR like this.
Authors could certainly use something like this if they want.)

Authors expect multiple BR elements to create multiple line breaks, but
a single BR element should create 1 line break without a blank line.

-David

L. David Baron        <URL: http://www.people.fas.harvard.edu/~dbaron/ >
Mozilla Contributor                      <URL: http://www.mozilla.org/ >
Invited Expert, W3C CSS WG          <URL: http://www.w3.org/Style/CSS/ >
Received on Tuesday, 24 October 2000 17:00:11 GMT

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