Change vertical position of strike-through?

jeffkee picture jeffkee · Mar 23, 2010 · Viewed 13.2k times · Source

I'm applying the strikeout tag:

<s>$5,000,000</s>

But the line is too low.. .it's about 1/4 from the bottom rather than through the middle. Any way I can modify this so it goes a bit more through the middle?

Answer

Robusto picture Robusto · Mar 23, 2010

You can't do it with the strike tag OR the text-decoration:line-through style. The line position is built-in. You could roll your own style for that, but it would be a huge PITA.