Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've been trying to get background images working in my Email HTML and have had no luck. I'm using Outlook 2007 to test my HTML code.

My method is:

  • Create my .htm file
  • Save it in %appdata%\Microsoft\Signatures
  • Create a New email and set that HTM file as my signature

So far, all my attempts at adding a background image have failed and I'm beginning to think it's not possible. Any ideas?

share|improve this question

migrated from stackoverflow.com Oct 12 '10 at 8:02

This question came from our site for professional and enthusiast programmers.

    
This is the wrong platform for such a question. This should be moved to superuser.com –  Sean Patrick Floyd Oct 12 '10 at 7:38
1  
It's a coding question. HTML/CSS. Not an Outlook question. –  Brett Oct 12 '10 at 7:49
    
Definitely not a superuser question. –  annakata Oct 12 '10 at 7:53

3 Answers 3

Here is an interesting url that should help you understand what HTML features are supported by various webmails, and by extension, desktop clients:

http://www.webknowhow.net/dir/HTML/CSS/0607CSSSupportineMail.html

share|improve this answer
    
Thanks for the link. Unfortunately, it only talks about web-based mail readers. Not mention of Outlook. –  Brett Oct 12 '10 at 7:55
    
@Brett, I think anything that's described to work on that page should also work on Outlook, unless it's really non standard –  SirDarius Oct 12 '10 at 8:00

Quite a complete resource here:

http://msdn.microsoft.com/en-us/library/aa338201.aspx

Hope it helps!

share|improve this answer

Try giving inline css Or As far as i know, to use html emails, you could use tables and place your image inside a td. Hope this helps.

share|improve this answer
    
I've tried using inline CSS as well as wrapping it in <style></style> tags. you could use tables and place your image inside a td - Are you talking about creating an image border around the text (like a lot of email newsletters)? I don't really understand this, sorry. –  Brett Oct 12 '10 at 7:51
    
No he's talking about using tables to structure the layout of your email and then you can slice a background image into smaller cell images and apply them as actual <img> tags or backgrounds on the <td>. Basically, CSS and emails don't play well together at all and doing stuff like this like it's the 90's is the only realistic way to get HTML emails to work consistently because outlook's rendering is very much still from the 90's. –  annakata Oct 12 '10 at 7:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.