View Single Post
Old 01-19-2010, 07:04 AM   #62
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,051
Karma: 4347035
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You could use padding instead of margin, which is not discarded at pagebreaks. Or you could have empty pagebreak elements thus:

Code:
<p class="poetry">Third line of the poem</p>
<div class="pagebreak"></div>
<p class="poetry">First line of the poem</p>
and define:

Code:
div.pagebreak {
  page-break-before: always;
  height: 0;
  margin: 0;
  padding: 0;
}
Jellby is online now   Reply With Quote