Support Article
Inconsistent Icon alignment in Outlook mail and Pega tool mail
SA-8850
Summary
User wants to generate a correspondence. The correspondence contains an inline-image (Company Logo). The Company Logo looks different in Outlook mail and Pega OOTB Attachments. The logo is binary file in the system and included in a section using inline styles. The Logo is not properly aligned (vertically) when we view in OutLook and WebMail.
Error Messages
Not Applicable
Steps to Reproduce
Add an icon in a layout with the layout configuration set to 100%. Call this layout in correspondence rule.
Root Cause
The inline styles were applied to the TD containing the image tag. However, the image had to be center-aligned on WebMail.
Resolution
Create a custom CSS class in a non-auto generated section. Include this section in the correspondence rule. The custom class is mentioned in the cell properties for the image cell as a ReadOnly and ReadWrite field.
The class was defined as follows:
<style>.my-img-class img{vertical-align:middle;}</style>
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.