getting rid of space with the superscript in html emails

不羁岁月 提交于 2019-12-02 06:05:40

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 it does not increases the gap between the lines

I fixed this issue by increasing the line-height of the containing paragraph <p>

Outlook pads line-height when superscript is applied. One fix (with caveat!) is to do the following: apply

<style="mso-line-height-rule:exactly;"> 

to the <td> IF there are no deviations in line-height in the cell AND no images used. !!!(that's important because Outlook 2010 will cut off images if this is applied) Then, apply

<span (or sup) style="font-size: (2px or more smaller than actual font size); line-height:0; vertical-align:3px;" 

in the span tag wrapping the superscript.

SEE:   http://emaildude.blogspot.com/2011/06/superscript-and-line-heights.html  

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!