Quote:
Originally Posted by PatNY
I put "!important;" into an existing style instead of making a separate "centered" style and it works fine on Stanza. However, when I do an epub-to-epub conversion in Calibre, "!important" is stripped out of the stylesheet. Does the style need to be called "centered"? If so, can I add other style attributes to it such as margin-left and font weight values?
|
The style need not be called "centered"; you can call it anything you want.
Yes, you can include any other attributes in any style, that's part of what's so great about using CSS.
Not sure why Calibre would strip that out, unless it's just not aware of !important and thinks it's some garbage that shouldn't be there. In that case, I'd call it a bug, but I just use Calibre to manage my library, so I know very little about conversions.
I would ditch Stanza as well, but as you say, what else is there? I've tried every one I can find and all of them range from "much worse" to "unusable". (Of course, I have not upgraded to OS4, so I have not tried iBooks.)