I am currently working on formatting an email digest using HAML and tables. My goal is to set a background-image to a table-cell in the email, but I've come to realize that Outlook requires VML in order to display a background-image correctly.
After some research, I came across the following code:
<!--[if gte mso 9]>
<v:rect style="width:540px;height:150px;" strokecolor="none">
<v:fill type="tile" color="#363636" src="http://www.website.com/background.png" /></v:fill>
</v:rect>
<v:shape id="NameHere" style="position:absolute;width:540px;height:150px;">
<![endif]-->
However, I'm unsure of how to implement this in HAML or if it's even possible. Could someone offer guidance on this issue?