Skip to content Skip to sidebar Skip to footer

Html Email Background On Body Not Working In Outlook 2013

I have the following html, if i open it up on browser it works fine..but when i send it as a mail to my outlook 2013, i dont see the background..

Solution 1:

HTML in Outlook is rendered by Word, not IE. And Word does not support background images in HTML.

Solution 2:

you are pointing to a document, not an image file in your css. add the image's url instead, like this:

<body style='background-image: url("http://s21.postimg.org/ko0vavm93/image.jpg");background-repeat:no-repeat'>

however like @Dmitry Streblechenko said about support, i know outlook reverted back awhile ago and stopped supporting them. not sure about 2013 support. i would slice that image into table pieces :)

Solution 3:

are you sure you've added the vml xmlns into your html tag?

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

I haven't had trouble with the snippet CM provided (placed at the top of the body)

<!--[if gte mso 9]> <v:background fill="t"> <v:fill type="tile" src="http://www.example.com/background_image.jpg" /> </v:background> <![endif]-->

EDIT!!

Turns out you don't even need VML for outlook body backgrounds. <body style="margin:0px; padding:0px;" bgcolor="#0088cc" background="http://imagez.biz/bkg.png">

Post a Comment for "Html Email Background On Body Not Working In Outlook 2013"