Unable to get html email signature to display correctly in Outlook

I created myself a simple electronic signature in html, it has the code:

<html>

<!-- Company logo goes here -->
<div id="far_left" 
    style="width: 50px; 
           height: 50px;
           float: left;
           margin-right: 10px;">
    <img src="logo.png" />
</div>

<!-- Name and occupation goes here -->
<div id="top" 
    style="height: 25px;">
    <span style="font-family: Arial, Verdana, 'Sans Serif'; font-size: 22; color: #464646;"><strong>Dean Grobler</strong>, Programmer</span>
</div>

<!-- Website link and email adress goes here -->
<div id="bottom" 
    style="font-family: Arial, Verdana, 'Sans Serif';
           font-size: 14px;
           color: #464646;
           padding: 5px;
           height: 25px;">
    <a href="http://www.deangrobler.com" style="text-decoration: none; color: #84d5f6">www.deangrobler.com</a> | 
    <a href="mailto:dean@deangrobler.com" style="text-decoration: none; color: #84d5f6">dean@deangrobler.com</a> 
</div>

In thunderbird and in my browsers it displays correctly:

enter image description here

But alas, this is not the case in Outlook 2010:

enter image description here

If it uses the same rendering engine that IE uses, and frankly, I'm not surprised that this is happening.

Any ideas?

+5
source share
1 answer

Email clients do not render html in the same way browsers do. When creating html messages, it is much better to use tables. I know that this runs counter to all modern web design, but a lot more email clients support them. Here is a link to css properties and which clients they support.

http://www.campaignmonitor.com/css/

+12