Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2025, 04:37 AM   #1
Fiji
Junior Member
Fiji began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2025
Device: Kobo BW
Kobo BW support for text-align-last?

I thought text-align-last was supported by epub3, but my Kobo BW seems to ignore it for both epub 3s and kepubs. It works in Calibre preview in the editor, so the CSS is correct. I tried sending to the Kobo through Calibre as both an epub and a kepub and neither respect the property. Is there any work around/way to emulate the style?
Fiji is offline   Reply With Quote
Old 08-10-2025, 04:33 PM   #2
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,701
Karma: 16308824
Join Date: Sep 2022
Device: Kobo Libra 2
IIRC Kobo's version of RMSDK does not support EPUB3, so regular EPUB will ignore all such features. The WebKit renderer used by KEPUB does support EPUB3, but it's not exactly modern. You could create a separate style for the last line of text and enclose every last line in a span tag with that style, I suppose.
Aleron Ives is offline   Reply With Quote
Advert
Old 08-10-2025, 06:01 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Aleron Ives View Post
IIRC Kobo's version of RMSDK does not support EPUB3, so regular EPUB will ignore all such features. The WebKit renderer used by KEPUB does support EPUB3, but it's not exactly modern. You could create a separate style for the last line of text and enclose every last line in a span tag with that style, I suppose.
That won't worlk. You have no idea where the last line will be. If I find I want the font size larger, that will change the last line. Also, I don't think this will work even if you had the correct line.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
text-align-last degn Recipes 1 03-01-2019 04:14 PM
text-align: initial; -- ?? AlanHK Kindle Formats 6 10-03-2018 11:18 AM
Is text-align-last not supported? fxp33 Editor 2 01-28-2018 02:27 PM
text-align:lol; odedta ePub 6 06-16-2014 09:40 AM
I can not align the text...help please! XD derfel_spain ePub 17 12-18-2010 09:45 AM


All times are GMT -4. The time now is 01:53 PM.


MobileRead.com is a privately owned, operated and funded community.