Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

 
   
Standard for Uniform Superscripts

StudioRxQA_FCB

Newbie
Total Posts:  1
Posted: 06 March 2013 11:59 AM

I currently use this standard for all email superscripted numbers, reg marks, etc:
<sup style=“font-size:10px;line-height: 0;”> adjusting font-size accordingly, and it seems to render beautifully in all email clients EXCEPT Outlook 07/10.  In Outlook, the superscripts are often extremely tiny and lower when compared to all other clients.

After googling a bit, I found this suggestion:
<sup style=“font-size:.90em;line-height: 0;vertical-align:super;”>
which made superscripts slightly larger and slightly higher in Outlook, but also made them much larger and higher in every other client.

Is there a better compromise between the two to make superscript size and placement a little more consistent between outlook and the other clients? 

Thanks!


 

Geoff Phillips

Avatar
Moderator
Total Posts:  386
Posted: 18 March 2013 12:07 PM
[ # 1 ]

You can keep the code you like and use conditional statements to target specific clients. You can use this statement to target Outlook:

<!—[if gte mso 9]>
// This CSS will only be seen in Outlook07/10/13
<![endif]—>

Enter your Outlook specific styles where the comment line (”//”) is. In this way, you can keep the code you like and keep tweaking outlook until you get it looking the same. Let me know if you have questions!