Thread: epub vs kepub
View Single Post
Old 11-13-2014, 06:02 AM   #29
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Jellby View Post
This was only a guess. But what I mean is that when the user selects "justify", the reader could apply it (on top of the book's CSS) in different ways. A possible way is adding an implicit "body { text-align: justify }" rule. Another way is a "* { text-align; justify !important }" rule, and yet another is ".normal-text { text-align; justify }". The first would be my preferred one, the second overrides some alignment which is not meant to be overriden, the third requires the class "normal-text" to be used in the code. I don't know which are the chosen ones in the different renderers, but it seems to me they are different, and I'm used to work with ADE's one.
Yes, the justify button works differently for kepubs than for epubs: for kepubs it overrides the alignment for div and p; for epubs only body.

This means that using the justification settings on the device will cause a lot of things that remain centred in epubs to be justified in kepubs.
GeoffR is offline   Reply With Quote