Quote:
Originally Posted by JSWolf
Of all the eBooks I've looked at the code, I've never seen !important or have I ever used it. I see no reason for it.
|
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.