W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: PAGE-BREAK-AFTER and <blockquote> inside <p>

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 21 Jan 2004 09:36:39 -0800
To: www-style@w3.org
Message-ID: <20040121173639.GA4910@darby.dbaron.org>

On Wednesday 2004-01-21 12:00 -0500, Roger Spears wrote:
> <p class="break">
> Intro Text Goes Here
> <blockquote>
> A very long book quote goes here
> </blockquote>
> Conclusion Text Goes Here
> </p>

If you validated your HTML [1] you would discover the source of your
problem -- that the P element can't contain the BLOCKQUOTE element.
Most HTML user agents will thus end the P before the BLOCKQUOTE and then
ignore the stray end-tag (which is the only error, since P's end-tag is

Help questions like this are really not appropriate for this list, which
is about discussion of the future development of web stylesheet


[1] http://validator.w3.org/

L. David Baron                                <URL: http://dbaron.org/ >
Received on Wednesday, 21 January 2004 12:36:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC