View Single Post
Old 09-01-2014, 02:19 PM   #7
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
It's not a public domain book, so I'm sure how much I can upload without issues. And without the entire book, just a sample of it most likely won't have an instance of where the number falls on one page and the text on another, it of course doesn't happen everytime there's a section number. But here's the code for a section including the title, if this will help at all:

Spoiler:

<body class="calibre">
<p class="calibre7"><span class="calibre11"><span class="bold1">X</span></span></p>

<div class="calibre6">
&nbsp;
</div>

<p class="calibre7"><span class="calibre11"><span class="bold1">X</span></span></p>

<div class="calibre6">
&nbsp;
</div>

<p class="calibre10"><span class="calibre8"><span class="bold1"><span class="calibre11">F</span></span>irst paragraph after new section to keep connected to the above number.</span></p>
</body>
</html>


And from the stylesheet:
Spoiler:

.bold1 {
font-weight: bold
}
.calibre {
display: block;
font-size: 1em;
padding-left: 0;
padding-right: 0;
text-align: justify;
margin: 0 5pt
}
.calibre6 {
display: block;
height: 16px
}
.calibre7 {
page-break-after:avoid;
display: block;
text-align: center;
text-indent: 0;
margin: 0
}
.calibre11 {
font-size: 1.29167em;
line-height: 1.2
}
Ripplinger is offline   Reply With Quote