View Single Post
Old 09-09-2022, 06:49 PM   #4
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 784
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
@theducks: Unless I'm missing something with Diap's Toolbag, it can only change all the stuff on a given page (EDIT: sorry, the current HTML file) or all the stuff in the whole book (all the files). I just need to remove those tags from specific clumps of text on a page.

@Karellen: Usually, I've no problem with things like <i>, <em>, <b> and <strong> in the HTML. But, where there are clumps of text that should be treated as a syntactic whole (i.e., a quote at the top of a chapter, a poem, a letter, etc.), I'd like to apply a CSS class to handle the formatting. It's possible the styling embedded in the content will conflict with that present in the class.

If the <i> tags were only around small bits of text like ship names or foreign words, that's probably not a problem. I think I could use another class to override their italics to something like bold:
Code:
i i {
  font-style: normal;
  font-weight: bold;
}
But, if I included something like that where large swaths of text are italicized, all I'd end up with is large swaths of text bolded.

Last edited by enuddleyarbl; 09-09-2022 at 07:25 PM. Reason: missed a word
enuddleyarbl is online now   Reply With Quote