View Single Post
Old 02-06-2015, 11:07 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,461
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Section8 View Post
The specific css and margins are not my issue here. That css was just an illustration.

My issue is that regardless of the css snippet I put in the "Extra CSS" tab of the conversion dialog, it either does not appear at all in the css of the converted azw3, or it is in a css file that is linked by only one html file (the last) and has no effect on the rest of the book.
Remember that extra css is subject to CSS cascading rules. If the book you are converting has more specific CSS rules, they will win over extra css. Use the !important modifier in your extra css.

And also remember that conversion flattens css, so you will not see your unmodified css anywhere, it will have been split up and distributed into the various classes.
kovidgoyal is offline   Reply With Quote