05-24-2020, 11:17 AM | #1 |
Guru
Posts: 771
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 |
05-24-2020, 12:17 PM | #2 |
Grand Sorcerer
Posts: 12,263
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
What format are the books on the Kobo? What driver and version are you using of both calibre and the driver.
|
05-24-2020, 12:23 PM | #3 | |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quote:
Oh, and I am using the following patches on the Forma: 1. Don't uppercase header/footer font 2. Enable advanced settings for all fonts 3. My 24 line spacing values 4. Unforce link decoration in KePubs 5. Set font scale factor 6. Reduce new header/footer height |
|
05-24-2020, 12:34 PM | #4 |
Wizard
Posts: 1,195
Karma: 5372239
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
I can't replacate on unpached firmware. Can you attach a sample file, (and a screenshot?)
|
05-24-2020, 12:50 PM | #5 |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I went back to stock firmware, without the patches, and still have the problem. Will try to upload a screen shot when I get back home later today.
|
05-24-2020, 01:49 PM | #6 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@icallaci,
This sounds a bit like another problem I saw reported (but not solved) with <br/>, (in the KoboTouchExtended thread, I think). What options (other than 'Enable Extended Kobo Features') do you have checked in the KTE driver config 'Extended' tab? |
05-24-2020, 03:37 PM | #7 |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
The only other option I have checked in the Extended tab is "Use Full Book Page Numbers."
|
05-24-2020, 03:42 PM | #8 |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I've attached a screenshot of the problem. Notice that "Rodric" is on the left. This is happening with multiple books.
Last edited by icallaci; 05-24-2020 at 10:51 PM. |
05-24-2020, 03:50 PM | #9 |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Aha! jackie_w, you are on to something. I disabled the KoboTouchExtended driver and tried uploading the same book using the KoboTouch 2.5.1 driver (by David Forrester) and the problem is solved. Thank you. At least I know it's not something I'm doing.
|
05-24-2020, 08:12 PM | #10 |
Bibliophagist
Posts: 36,810
Karma: 147879470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might also want to try converting to kepub using kepubify and see if the issue is still seen.
|
05-24-2020, 08:40 PM | #11 |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
|
05-24-2020, 08:54 PM | #12 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I have just posted a beta for the extended driver that should fix this.
|
05-24-2020, 10:52 PM | #13 | |
Guru
Posts: 771
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Thanks! I'll give it a try and let you know.
Edited to add: Bingo! It's fixed. Thank you so much. Quote:
Last edited by icallaci; 05-24-2020 at 11:04 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Justified or Left Aligned? | buffaloseven | Kobo Reader | 29 | 08-29-2013 11:46 AM |
Full Justified or Left Justified? | JSWolf | General Discussions | 96 | 02-04-2013 06:57 PM |
iPhone Text messages justified or left aligned? | AlexBell | Apple Devices | 10 | 07-03-2012 11:01 AM |
Why is image left justified when I link to it? | steve2112 | Kindle Developer's Corner | 4 | 03-23-2012 02:53 AM |
Left-justified text in a right-justified box | Skeezix | Conversion | 4 | 11-15-2011 08:44 PM |