- From: Brad Kemper <brkemper@comcast.net>
- Date: Tue, 1 Jul 2008 19:41:06 -0700
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Jul 1, 2008, at 9:51 AM, Boris Zbarsky wrote:
> I'll be completely honest: what makes the most sense to me in some
> ways is to make <br> not be a replaced element (in whatever spec),
> have
>
> br { content: "\A"; white-space: pre; }
How about this:
br { height:0; display:block; }
It breaks lines by creating a zero-height block in the middle of
inline content. Like as with most browsers, two of them has the same
effect as one, unless there is some non-collapsing character in-
between, such as a &nobr;
Received on Wednesday, 2 July 2008 02:41:52 UTC