我可以更改网站上的删除线的垂直位置吗? [英] Can I change the vertical position of a strike-through on a website?

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

问题描述

我要应用删除标记

I'm applying the strikeout tag

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

但是行太低了.it从底部大约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: style。线位置是内置的。你可以为自己的风格,但这将是一个巨大的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天全站免登陆