Quote:
Originally Posted by theducks
 FWIW I did find the cure for paragraphs not being centered. Simply change them from <P to <DIV , keeping the same selector
Kobo must override P 
|
When it comes to applying user settings from the Kobo [Aa] font settings sliders/buttons, the Kobo kepub renderer uses a different override CSS than the Adobe renderer used for Kobo standard epubs.
For text-align, kepub override CSS is
Code:
div, p { text-align: %1 !important; }
whereas epub override is
Code:
body { text-align: %1 !important; }
So pressing the 'Left' or 'Justify' button can really mess up kepub appearance. Based on the above I am surprised your <p> to <div> trick worked.
If you think this might be an on-going aggravation for you (
it certainly was for me), you might consider dipping your toes in kobopatch waters. There is a handy patch to change the kepub override CSS to match the epub override. I won't go into detail here but don't hesitate to ask if you go down the kobopatch path. However, kobopatch is in a state of flux this week due to the big new Kobo firmware upgrade which broke some patches, but I'm hoping order will be restored quite soon.
Just what I needed, calibre 4 beta and a major Kobo update, both happening at the same time, both needing quite a bit of effort.