Quote:
Originally Posted by Quoth
Not the only issue with the Kobo proprietary version of epub.
But I'd avoid "text decoration" CSS in books and see no use at all for strike through except in a book or essay about typewriters.
|
What about authors that are describing a hand-written letter from someone who can’t make up their mind in what to say???
Strike-through is exactly what you want. Whether you use a <span>, <s>, or <del> tag (<strike> is not supported in HTML5) it is highly recommended to use the ‘text-decoration: line-through’ css to explicitly define the behavior of the tag rather than rely on some “default behavior”.
Same argument applies to
underline words: ‘text-decoration: underline’
edit: added images and example code
Code:
.strike {
text-decoration: line-through;
}
div.write p {
margin-bottom: 0.5em;
font-size: 1.2em;
font-family: "Monotype Corsiva", "cursive";
font-style: italic;
text-indent: 0;
}
div.write p.sig {
text-align: right;
margin: 0.25em 0 2em;
}
<div class="write">
<p>Bella,</p>
<p class="strike">I don’t know why you’re making Charlie carry notes to Billy like we’re in second grade—if I wanted to talk to you I would answer the </p>
<p class="strike">You made the choice here, okay? You can’t have it both ways when </p>
<p class="strike">What part of ‘mortal enemies’ is too complicated for you to </p>
<p class="strike">Look, I know I’m being a jerk, but there’s just no way around </p>
<p class="strike">We can’t be friends when you’re spending all your time with a bunch of </p>
<p class="strike">It just makes it worse when I think about you too much, so don’t write anymore </p>
<p>Yeah, I miss you, too. A lot. Doesn’t change anything. Sorry.</p>
<p class="sig">Jacob</p>
</div>