View Single Post
Old 08-12-2022, 08:49 AM   #1
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
"text-decoration: line-through;" Barely Visible on Kobo Forma

I've got an epub that uses:

.strike {
text-decoration: line-through;
}

to strike through some lines of text. In Calibre, it looks fine. On my Kobo Forma, I can barely see the strikeout line going through the text. Searching the web, I find many instances claiming the underlying code for <strike> (deprecated), <del> and <s> is that same text-decoration line. On the w3c site for <strike>, I've tested all three of those methods and they all work well and look the same on my browser.

According to the mozilla.org site:

https://developer.mozilla.org/en-US/...tion-thickness

I can use text-decoration-thickness to change the thickness of that line and make it more visible. When I try, the Calibre editor "check book" function doesn't recognize it ("Unknown property").

Does anyone have another method of making that strikethrough line more visible?

EDIT: I ignored Calibre's warning and tried text-decoration-thickness: 10em; and it made no difference on my Forma (or in Calibre).

Last edited by enuddleyarbl; 08-12-2022 at 09:06 AM.
enuddleyarbl is offline   Reply With Quote