Quantcast
Channel: MobileRead Forums - KOReader
Viewing all articles
Browse latest Browse all 1712

CSS Processing order

$
0
0
I see that KoReader can have user created styles (in /styletweaks) .

When reading a book there may also be other stylesheets that will influence presentation. Such as, say, one called "book.css" within an EPUB, (the so-called "embedded style").

Then there is the inbuilt "epub.css".

I'm trying to understand in what order the various css stylesheets will be processed.

Understanding this would explain why I was getting indented paragraphs on the first line of a chapter when I wasn't expecting it from the book's own styles. I have since edited that EPUB to display correctly but would like to know the "cascade" order as it might help me correct the presentation of other books by KoReader if I find others with the same problem.

An authoritative view on this would be appreciated.

BobC

Viewing all articles
Browse latest Browse all 1712

Trending Articles