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

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

From: Roger Spears <roger@bgnet.bgsu.edu>
Date: Wed, 21 Jan 2004 12:00:57 -0500
Message-ID: <400EB049.90006@bgnet.bgsu.edu>
To: W3C Style Sheet Mailing List <www-style@w3.org>

Hello,

Hope I have the correct list for this.  Sorry if I don't.

I have a slight problem/question regarding PAGE-BREAK-AFTER as a class 
with <p> when I call <blockquote>.

My Style is set up like this:
.break{PAGE-BREAK-AFTER: always;}

My Page is set up like this:
<p class="break">
Intro Text Goes Here
<blockquote>
A very long book quote goes here
</blockquote>
Conclusion Text Goes Here
</p>

<p class="break">
Intro Text Goes Here
<blockquote>
A very long book quote goes here
</blockquote>
Conclusion Text Goes Here
</p>

When I print this page out, I need it to only page break where the <p 
class="break"> appears.  But when I print out the page, it page breaks 
at the blockquote also.  I was wondering if anyone had a work around for 
this?  Any tips?  If I take out the <blockquote> it works.

I thought of using some indentation in the style, but the text inside 
the blockquote can be up to 8 lines long sometimes for my application.

Thanks,
Roger
Received on Wednesday, 21 January 2004 12:00:58 GMT

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