View Single Post
Old 12-21-2023, 04:55 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,216
Karma: 171291588
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
So use something like
Code:
<p class="sectionbreak">& #160;</p>
in the html files and the following in the stylesheet:

Code:
.sectionbreak  {
  padding-top: 1.4em;
  padding-bottom: 1.4em;
}
I've also seen ebooks where the creator has added a couple of paragraph styles for before and after section break (basically add the padding-bottom to the above and padding-top to the below but I prefer the section break since it allows me more options such as adding an fleuron or other image.

Edit: remove the space between the & and # since it's only there to allow the text to be displayed.
DNSB is offline   Reply With Quote