Quote:
Originally Posted by MerlinMama
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.