Quote:
Originally Posted by DNSB
Too much work to do that without deleting information that is needed to display the book as intended. My way is a minimum of work and does not affect the way the book is displayed.
Would I prefer to do a full rip and replace? Yes. Do I want to spend the time needed? Considering the person reading most of the Vellum created books is my wife and she does not care about the CSS or any other internals of the file? If it looks good on her screen, she's happy.
|
The way the book looks is terrible. There's a useless embedded font. The chapter headers is too small and lightweight and takes up too much space on screen. Every paragraph has no indent and a paragraph space. My way is fairly easy and it fixes it so it has no paragraph space, indents, and the chapter header is easier to see and does not waste so much screen space. Plus, this is one of the easiest Vellum created eBooks to fix.
- Dump the media query CSS and link the existing CSS which drops the code for the missing CSS
- Delete the embedded font
- Dump any unwanted HTML
- Dump the div with the header class
- Clean up the chapter header code
- put in the correct h1 code in CSS for the chapter header
- Replace the margin in the class used with p with a text-indent
- Done
It looks worse then it really is.
Quote:
To put it mildly. I prefer to use the RemoveInlineStyles tool to do the cleanup and then go from there.
|
I would also have a look at the inline CSS. If most of it is the same, it can be S/R and the code added to the CSS. Then see what's left and if there's not too much left, do the same thing with the leftovers.