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?

email display html

<p>&nbsp;</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;">&nbsp;</span></td>  </tr>  <tr>  <td colspan="4" height="5%"><span style="font-family: 'times new roman', times;">&nbsp;</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;">&nbsp;</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&nbsp;to validate <strong>${name}</strong> ensure that&nbsp;all group members appropriate. <strong>important: group must have atleast 2 active members proceed.</strong></span>&nbsp;&nbsp;&nbsp;</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;">&nbsp;</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>&nbsp;</p>  <p>&nbsp;</p>  <p>&nbsp;</p>

change line:

<p>${mail_script:groupvalidation}</p> 

to this:

<div align="center"> <p>${mail_script:groupvalidation}</p> </div>  

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -