View Single Post
Old 05-24-2020, 11:17 AM   #1
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 819
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
<br/> tags all left justified?

All of a sudden, my <br/> tags are not following the text-align property for the <p> tag they are in. For example, if I have a paragraph that is right aligned, and I break it thus: "Sincerely yours<br/>Jane Doe<br/>Your greatest fan</p>, then "Sincerely yours" and "Jane Doe" are right aligned but "Your greatest fan" is left aligned. Same for centered paragraphs. This happens both with kepubs as well as epubs, and for epub2 and epub3. Is this new behavior? Are there any workarounds (that preferably don't involve modifying every single CSS file in my library)?

Edited to add: I am using a Kobo Forma on firmware 4.21.15015. Everything looks ok in Sigil and Calibre. It's just the Forma that is ignoring the text-align property of the <p> it belongs to.

Last edited by icallaci; 05-24-2020 at 11:34 AM. Reason: Added firmware version
icallaci is offline   Reply With Quote