Thread: Kobo Bug thread
View Single Post
Old 02-28-2017, 04:31 AM   #837
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,844
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
I've seen !important used in 3 ebooks. I would agree with Rev. Bob that it was unnecessary. In the case of one ebook, it had 8 stylesheets (one for the cover page, one for the titlepage, one for chapters, one for table of contents, one that was basically pagestyles.css and a couple of more for miscellaneous content. The 8th stylesheet which had the !importants was used to try to cover the sins of commision and omission in the other 7 -- lipstick on a pig.

It took about 40 minutes to convert the stylesheets into a single stylesheet, get rid of multiple repeated images -- did we really need the identical graphics for the chapter title repeated for each chapter, convert absolute sizes into relative sizes and otherwise clean things up.
That is very excessive. I've never seen 8 CSS in one eBook. But I have seen the duplicate graphics for things like chapter header ornaments and section breaks. It's just crazy how poorly some publishers make eBooks. But at least with some experience, it's not too much of a hassle fixing things.
JSWolf is offline   Reply With Quote