W3C home > Mailing lists > Public > www-html@w3.org > April 2000

Re: Ignoring empty paragraphs

From: Matthew Brealey <webmaster@richinstyle.com>
Date: Tue, 11 Apr 2000 13:46:07 -0700
Message-ID: <38F38F0F.1197@richinstyle.com>
To: www-html@w3.org, www-style@w3.org
> >More than one empty paragraph (if no one assigns borders or padding
> >on <p> elements) looks like one empty paragraph.  But one
> >empty paragraph still doesn't look like zero empty paragraphs.
> ><div>foo</div><p></p><div>bar</div>
> >The <p> is not "ignored" here;

Rather artificial that. People always use <BR> for this purpose, and you
can't claim that *they* should be ignored. In any case, if you are using
<p> for this purpose you clearly don't want them to be ignored and so
therefore you don't need to use :empty to make them ignored.
> >it introduces a gap of about 1em, depending on your browser's
> >setting for margins on <p>.
> It does _not_ in Mozilla M14 "strict" mode.
> (yes, I did try exactly your line up here before posting :)

That's a bug - it doesn't ignore the Ps here:


so by any interpretation of the spec this is wrong.

Please visit RichInStyle com.
If it's style-related, it's here. And now:
MySite v2 - offer your users a choice between predefined styles or
they can create their own, with control over font sizes, colors,
background colors, background images, borders, margins, line heights,
add a custom style rule, font faces, link underlining, etc.

Download now FREE: http://richinstyle.com/free/mysite.html.

And now:

Working properly in Netscape (untested 11th hour changes).
Received on Tuesday, 11 April 2000 08:42:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:53 UTC