开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜