![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
Kobo stock reader not honouring styles?
I have a book in ePub format which is being shown with space between paragraphs and without indentation in the first line. Same book is shown properly in KOReader and the Calibre editor.
These are the classes for body and regular paragraph: Code:
.calibre { display: block; padding-left: 0; padding-right: 0; text-align: justify; font-size: 1em; text-indent: 1.2em; line-height: 1.2em; margin: 0; widows: 1; orphans: 1; } .calibre1 { display: block; margin: 0; } Code:
.noindent { display: block; font-size: 1em; text-align: justify; text-indent: 0; margin: 3em 0 0; } Sent from my 22081212UG using Tapatalk Last edited by jospalau; 09-30-2023 at 10:32 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Nope, not normal at all. The only thing I can think is there is some kind of fundamental error in this specific epub the other readers are ignoring, but Adobe is discarding the entire css.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,006
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
|
![]() |
![]() |
![]() |
#5 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
Quote:
I will look a bit more but it is one of the first files I edit manually and I was baffled the stock reader is not showing it properly when it is said to be the best in honouring the stylesheets. If anyone can confirm the default stock reader style does not indent and sets big margins in paragraph when no style, that's it. Sent from my 22081212UG using Tapatalk |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,006
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Kobo can indent and adjust its margins via css. Be sure to manually disable the device settings as indicated below. Otherwise they will override your ebook css settings.
|
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
Quote:
![]() Sent from my 22081212UG using Tapatalk |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Nickel css styles | Amon_Re | Kobo Developer's Corner | 4 | 10-02-2022 08:53 PM |
Kobo Order of In Stock e-reader. | Josieb1 | Kobo Reader | 22 | 12-04-2021 10:12 PM |
Can't see ebooks downloaded by wifi on stock Kobo reader | Danlucio | KOReader | 7 | 11-16-2019 05:59 PM |
Kobo Glo and publisher's styles | arturg | Kobo Reader | 3 | 01-31-2014 09:08 PM |