Quote:
Originally Posted by DNSB
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.