getting rid of space with the superscript in html emails

后端 未结 3 478
渐次进展
渐次进展 2021-01-25 01:10

superscript is leaving a big space between the line height.

code is

®&l         


        
相关标签:
3条回答
  • 2021-01-25 01:16

    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  

    0 讨论(0)
  • 2021-01-25 01:19

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

    0 讨论(0)
  • 2021-01-25 01:34

    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

    0 讨论(0)
提交回复
热议问题