View Single Post
Old 01-21-2023, 01:00 PM   #6
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,403
Karma: 107076273
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by MerlinMama View Post

I have been trying to get the coding right for fixing up the text breaks in my personal reads, but they don't show up in my Kobo (Sage) and I wonder if I'm making a mistake (shows up in the browser when I test, but still) or if it just isn't supported in Kobo Ereaders.
This is too complicated. Just have the break text in html
<p class="a-break">- o -</p>

(or * * * which is common)

The -o- can be an image (fleuron) with tag and class

in CSS
.a-break {
margin-top: <desired space>;
margin-bottom: <desired space>;
margin-left: 0;
margin-right 0;
text-align: center;
}

Any enclosed image or hr will be centred.
for the <img or <hr put class="img-break"
and then
.img-break {
height: auto;
width: <desired size>%
}

You can include a padding-top: if you want a top of new page margin.

This will work for epub and epub2 converted by Calibre to old mobi, dual mobi, azw3, kfx, epub3 and kepub.
Quoth is offline   Reply With Quote