CSS conversion from a plugin
I'm trying to figure out how I can set a CSS rule (specifically, margin:0px) while my plugin is processing books, but I'm not sure how to do it. Some files reference a single CSS file, some reference multiple CSS files, some have one or more CSS files and their own style tag...
Is there a (relatively) easy way through calibre to find any margin declarations and change them to 0, or set margin:0px if there is no margin rules?
|