I think the only way to do this reliably is using programming tools which understand how CSS works. I know it can be done using a combo of Python and cssutils in a calibre user interface plugin or calibre editor plugin but some programming skills are required.
|