Quote:
Originally Posted by PeterT
|
I think you may have found it!
This seems like it might be the issue:
Quote:
Choosing Selectors
Kobo advises against applying styles to type selectors alone, like the div or span selectors. It is safer to style and easier to debug CSS that is as specific as possible. Increase specificity by selecting for type and class, or by selecting for nesting structure. In addition, Kobo inserts div and span tags during processing to enable user functionality (ex. text highlighting). As a result, any content contained within the added tags will inherit the styling applied in the CSS.
|
Going more specific by applying spans and classes did work, and it seems this is what they are suggesting. I'd forgotten that kepub has extra div and span tags added.
I sure liked the simplicity of h2 span, but I think I'd rather have a book that, when converted to kepub, looks the same as it would in ADE, Kindle and iBooks.
Sent from my iPad using Tapatalk