更改删除线的垂直位置? [英] Change vertical position of strike-through?

查看:21
本文介绍了更改删除线的垂直位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在应用三振出局标签:

I'm applying the strikeout tag:

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

但是这条线太低了......它距离底部大约 1/4,而不是穿过中间.我有什么办法可以修改它,让它在中间多一点?

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?

推荐答案

您不能使用罢工标签或 text-decoration:line-through 样式来实现.行位置是内置的.您可以为此推出自己的风格,但这将是一个巨大的 PITA.

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.

这篇关于更改删除线的垂直位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆