Fix HTML signature, perhaps double space

Hi,

I have the HTML code for email signature (pasted below), which is used for automatic replies in my Wordpress website. The same HTML signature code is applied in two plugins, I copy and paste into each plugin email signature field inside Wordpress dashboard.

Issue:
The email sent through one plugin, the HTML works well, the signature displays gracefully in Microsoft Outlook 2016 https://diigo.com/0a8648
The email sent through the other other plugin seems like the email signature displays with double spacing between lines https://diigo.com/0a864t

Any advice to fix this is welcome :slight_smile:

Rgs

IM

`<body link="##ff6c2f" vlink="#686869" alink="##ff6c2f"> 
<font face="calibri" font size="3" color="gray">To mycompany ,<br><br> 

Email text

Best regards,<br><br>

<br><br>
<table>
  <tr>
    <td>
		<a href="https://mycompany.com/wp-content/uploads/2015/10/logo-email.png"><img src="https://mycompany.com/wp-content/uploads/2015/10/logo-email.png" 

style="float: left"></a>
	</td>
    <td>
		<div style="float: left; border-left: 1px solid #ff6c2f; padding-left: 10px; margin-left: 20px; 

font-family: Calibri, Arial, Helvetica, sans-serif;">
		<span style="color: #686869; font-family: Calibri, Arial, Helvetica, sans-serif; font-weight: normal;">mycompany</span><br>
		<span style="font-size: 12px;">
		<span style="color: #ff6c2f;">t:</span><span style="color: #686869; font-family: Calibri, Arial, Helvetica, sans-serif; font-weight: normal;"> +49 yyy |</span> 

<span style="color: #ff6c2f;">f:</span><span style="color: #686869; font-family: Calibri, Arial, Helvetica, sans-serif; font-weight: normal;">+49xxx<br> </span>
		<span style="color: #ff6c2f;">e:</span> business@mycompany.com | <span style="color: 

#fe6c31;">w:</span> www.mycompany.com
		</span>
		</div> 
	</td>		
  </tr>
</table>`

You could try setting the line height on the table and td elements in case they are inheriting a larger default from somewhere.

e.g.

<table style="line-height:1.2">

And maybe add the line-height to the tds also:

HTML is 100% trial and error I’m afraid :slight_smile:

(You also have a missing closing font tag so make sure you add that in the right place also.)

PaulOB, many thanks. Your code resolved the issue. :slight_smile:

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.