Thread: <h2 title="xx">
View Single Post
Old 04-18-2022, 01:02 PM   #15
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,087
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by hobnail View Post
I tested and phossler's trick of using a br in the h1 works. I was wondering if the br would get pulled into the nav.xhtml but with sigil but it does not. Likewise with the span, so that makes sense, it strips out any formatting stuff.

So now I'm wondering why I thought the way I'm doing it was better; I'd still need the span for formatting if I want the chapter title or number formatted different. The thread were I saw this was several years ago so I don't remember the details.
I have been using the <space><br/><span class trick for a long time
The space before the BR is preferred as it does not obviously displace the next line (really a sore thumb when left-justified)
Note:I am not submitting books for publication in other formats, where this trick might bomb ugly
theducks is offline   Reply With Quote