开发者

What is a workaround for placing a background image in Gmail? [closed]

开发者 https://www.devze.com 2023-01-21 13:35 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow开发者_Python百科.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow开发者_Python百科.

Closed 11 years ago.

Improve this question

I understand gmail does not support background-images or background: url('.. in Gmail. I was wondering if anyone had a sizeable workaround to this?

This is for emails I send via a server to a user's email accounts if they are using gmail.


Here's a nice cheatsheet I use for creating webbased emails. Support for background-images isn't widely supported, so I avoid it anyway.

Cheatsheet for CSS support in EMAIL clients

This file says that background is "buggy", so there might be some elements that do support background-images for gmail. For instance, you can try a table-cell with a background images. In my experience, for email-templates tables are the best option (I wish it was different)...


Instead of using the standard CSS background-image you need to add this to a table using the background="" the webpage below gives a clear explanation.

http://blog.exacttarget.com/blog/design-tip-of-the-week-hotmail-in-firefox/email-design-tip-of-the-week-gmail-takes-two-steps-forward-and-one-step-back

0

精彩评论

暂无评论...
验证码 换一张
取 消