在 html 电子邮件中使用上标去除空格 [英] getting rid of space with the superscript in html emails

查看:35
本文介绍了在 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> 标签,因为它也会在行高中留下很大的差距.

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

是否有解决办法.我知道 position:relative 在 Outlook 中的呈现效果不佳.其他的替代方法是什么?

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<中做了一些实验/a> 我认为你可以使用:

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

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

在firefox中它不会增加行之间的间隙

in firefox it does not increases the gap between the lines

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

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