Outlook’s broken… someone fixed!

// July 8th, 2010 // General

Thanks God & Brian Thies, finally a solution to the most annoying thing ever (if one day you’ll have to create email template and make it work in the bloody Outloouk 2007).

They manage to fix the stupid issue of Outlook 2007/2010 not been able to display background-image!!!

Replace your <html> tag with:

Code:
<html xmlns:v="urn:schemas-microsoft-com:vml">

Add this style in the head:

Code:
v\:* { behavior: url(#default#VML); display:inline-block; }

Add this code within the <td> you want the background image to display in, and modify according to the size of the image as well as the source:

Code:
<!--[if gte vml 1]> <v:image style='width:600px;height:402px;position:absolute;top:0;left:0;border:0;z-index:-1;' src="http://www.yourlocationhere.com/image.gif" /> <![endif]-->

Leave a Reply