Symptom
Table alignment in email does not get respected despite the correct configuration in the template.
Email template and table properties:
Email preview:
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Create an email template.
- Create a table inside it and set the alignment as center.
- Send the email to a candidate and preview it.
- Notice that the alignment is not following what has been defined in the templete.
Cause
The HTML tag created by the table alignment is no longer supported in certain browser like Google Chrome and Mozilla Firefox.
HTML Table tag: <table align="center" border="1" cellpadding="1" cellspacing="1" style="width:500px">
Resolution
A workaround is required to align the table properly in the email. Please, follow the suggested steps:
- In the email template, open the email.
- Click on the Source button in the editor.
- The HTML content of the email is be displayed.
- Find the respective table tag you want to change. For example:
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:500px">
Notice that the table configuration can be different from this example. - Replace the "align="center"" for the following tag:
table style="margin:0 auto; text-align:center"
Before:
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:500px">
After:
<table style="margin:0 auto; text-align:center" border="1" cellpadding="1" cellspacing="1" style="width:500px"> - Save the template.
As a preventive action, Software Engineering team will be working on the Email Editor and fixing the Table function. For more information, please reach our for your CSM and refer the internal request RCM-77369
Keywords
RCM-77369, email, template, table, alignment, center, tag, text, incorrect, not, following , KBA , LOD-SF-RCM-CAO , Candidate Offers, Offer Letters , Problem
Product
Attachments
Pasted image.png |