View Single Post
Old 09-30-2010, 02:57 PM   #1
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Is there a way to get Calibre to retain "!important" in a css?

On an epub-to-epub conversion, Calibre will strip out the designation !important that I've added to the stylesheet. Is there a way I can get Calibre to retain it?

I've just started using it because Stanza ordinarily refuses to honor standard centering instructions in a css. This is a known quirk of Stanza, and the !important designation next to the "center" instruction gets Stanza to comply.

I notice there is an extra CSS field under the conversion settings. Is there something that can be done there? Some instruction? I have never used that field before for anything so am not aware what it can do.

Ordinarily, I don't do epub-to-epub conversions, but they are necessary sometimes to "fix" some minor things in an epub or to alter things like line spacing or cover art.
PatNY is offline   Reply With Quote