View Single Post
Old 07-22-2022, 06:19 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,966
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DaveLessnau View Post
After deleting all their codes and replacing them with mine, I went through the book looking for things I needed to change. Most of it was fine. One thing I realized while I was doing that, though, was that they happened to use standard forms of <i>, <b>, <em>, <strong>, etc. tags (or at least any spans they used with custom classes on those also included the standard forms). If they hadn't done that (and I've seen books that used epub-i and epub-b for <i> and <b>), I would have lost those html codes in the text. So, I guess I should have checked for class names related to those before deleting them.

Also, JSWolf, how did you get rid of the <section> stuff? Did you use something like Diap's Editing Toolbag? Or, go through it manually and delete?
This is why I don't blow away the CSS. I see what the specific class does amd either fix it or use my own.

As for the sections, yes, Diap's Editing Toolbag does a great job of deleting the <section> stuff. There's no need for it. A chapter title like in the book I edited needs only one line. It does not need a <section> or <div>.
JSWolf is offline   Reply With Quote