HTML template in outlook: Couldn't align 1 text to the right -
i creating email content using html outlook. screenshot below, tried make "validate now" align right right under "servicenow group validation" end in middle. odd when change different text have 7 or less letters, able align right. believe text size impact how position. can fix it?
<p> </p> <table style="height: 400px;" width="772" cellspacing="0" cellpadding="0"> <tbody> <tr style="border-style: none none solid none;"> <td colspan="2"><span style="font-family: 'times new roman', times;"><img id="logo" style="float: left;" title="" src="toolbar-logo.png" alt="" width="127" height="44" /></span></td> <td colspan="2"> <p style="text-align: right;"><span style="font-size: 14pt; font-family: 'times new roman', times;"><strong>servicenow group validation</strong></span></p> <p style="text-align: right;"><span style="text-decoration: underline; color: #0000ff; font-size: 12pt; font-family: 'times new roman', times;"><strong>${mail_script:groupvalidation}</strong></span></p> </td> </tr> <tr> <td style="background: none; border-bottom: 3px solid #ff1a2e; height: 1px; width: 100%; margin: 0px 0px 0px 0px;" colspan="4"><span style="font-family: 'times new roman', times;"> </span></td> </tr> <tr> <td colspan="4" height="5%"><span style="font-family: 'times new roman', times;"> </span></td> </tr> <tr> <td colspan="4"><span style="font-size: 12pt; font-family: 'times new roman', times;">${manager},</span></td> </tr> <tr> <td colspan="4" height="5%"><span style="font-family: 'times new roman', times;"> </span></td> </tr> <tr> <td colspan="4"><span style="font-family: 'times new roman', times;"><span style="font-size: 12pt;">as part of active initiative manage servicenow platform security, being requested group manager to validate <strong>${name}</strong> ensure that all group members appropriate. <strong>important: group must have atleast 2 active members proceed.</strong></span> </span> <p><font size="4"><strong>please validate group access using following link:</strong></font></p> <p>${mail_script:groupvalidation}</p> </td> </tr> <tr> <td colspan="4" height="5%"><span style="font-family: 'times new roman', times;"> </span></td> </tr> <tr> <td colspan="4"><span style="font-size: 12pt; font-family: 'times new roman', times;">thank you,<br />enterprise service management</span></td> </tr> </tbody> </table> <p> </p> <p> </p> <p> </p>
change line:
<p>${mail_script:groupvalidation}</p>
to this:
<div align="center"> <p>${mail_script:groupvalidation}</p> </div>
Comments
Post a Comment