Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us