Is it possible to style the first p.quotation in the following code snippet? All quotation should be on a new, right page:
As far as I know I can’t (pseudo) select classes, only elements, so something like: p.quotation:first{page-break-before:right;} doesn’t work.
Any suggestions?
Thanks, Tobias
<p class="bodytext">So this is the bodytext.</p>
<p class="quotation">I am quite sure that I have no race prejudices, and I think I have no colour prejudices nor caste prejudices nor creed prejudices. All that I care to know is that a man is a human being – that is enough for me; he can’t be any worse.</p>
<p class="quotation_author">Mark Twain</p>
<p class="quotation">Everything should be made as simple as possible, but not simpler.</p>
<p class="quotation_author">Albert Einstein</p>
<h1 class="headline1">Headline 1</h1>
<p class="bodytext">So this is the bodytext.</p>
As far as I know I can’t (pseudo) select classes, only elements, so something like: p.quotation:first{page-break-before:right;} doesn’t work.
Any suggestions?
Thanks, Tobias