You are viewing limited content. For full access, please sign in.

Question

Question

HTML and aligning text to right in email activity not working in Outlook emails.

asked on July 1, 2022

I can't get the text to align to the right for the # Documents column. Here is what it should look like. This is from an HTML editor online:

This is what it looks like in Outlook: 

 

 <td style="padding: 10px; border: 2px solid gray; border-collapse: collapse lightblue; color: gray; vertical-align: top; text-align: end">30</td>

What am I doing wrong? 

0 0

Replies

replied on July 5, 2022

One way that might help with that is to lay out your table with merge fields in a Word document, populate it using the Update Word Document activity and set this activity to generate the mail token and use that in the body of the email. Using Word-generated HTML seems to be less ....stressful to Outlook's embedded HTML rendering engine.

1 0
replied on July 1, 2022

The HTML viewer in Outlook isn't compliant with all of the CSS guidelines.

It should be respecting the RTL and LTR text direction flags to determine whether end is on the right or left, but it doesn't obey them.  So, you'll need to use "text-align: right" instead of "text-align: end".

This isn't anything you are doing wrong, it's Outlook not getting with the program.

Here's a screenshot from a site showing browser compatibility with the start and end flows.  It's been in use for years, you can see that Chrome and Firefox both supported it since version 1!  Outlook is nearly 20 years behind on this one. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.