在html电子邮件中消除空间与上标 [英] getting rid of space with the superscript in html emails

查看:231
本文介绍了在html电子邮件中消除空间与上标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上标在行高之间留下了一个很大的空间。

superscript is leaving a big space between the line height.

代码是

<span style="position:relative; bottom:0.2em; font-size: 0.8em">&reg;</span>



我不使用< sup>< / sup> / code>标签,因为它也在行高度留下了很大的差距。

I am not using the <sup></sup> tag as it too leaves a big gap in the line height.

有没有工作。我知道 position:relative 在前景中呈现不好。

Is there a work around. I am aware that the position:relative does not render well in outlook. What's the other alternative to this?

推荐答案

我在 jsFiddle ,我想你将能够使用:

I've made few experiments in jsFiddle and I think you will be able to use:

<sup style="line-height: 0">&reg;</sup>

in firefox它不会增加行之间的差距

in firefox it does not increases the gap between the lines

这篇关于在html电子邮件中消除空间与上标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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