Re: Ignoring empty paragraphs

> >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:

http://richinstyle.com/test/application/sibling2.html

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