Newbie question

Hey all,

We are developing an html emailer for our church and I had a question.  I searched the blog for answers, but couldn't find any, so here goes:

I've designed our first newsletter and am testing it in several apps/browsers.  I know that you have to use inline styles for gmail...does that mean you have to make two separate html files?  Do you need one with the internal style sheet and one with inline styles?

Also, the background color attribute is not working in Yahoo mail for me.  If anyone has any thoughts / suggestions, I'd appreciate it.  Thanks!

Mathew Mathew, 9 years ago

Hi,

You don't need to to do versions, but it does mean if you want to have the css shown in Gmail you will need to do inline styles all the way. That version will work for other email clients too.

Background colour is definitely supported in Yahoo - there may be some other issue going on in your file that is stopping it from showing up. Perhaps you can link to a URL for your html page?


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
Abiding Savior, 9 years ago

Hey, thanks for the reply.  My html is at www.knowingthesavior.org/newsletter/abiding_life_0807.html

Mathew Mathew, 9 years ago

Can you give us a screenshot of the problem you are seeing, and let us know which version of Yahoo! Mail you are on. Does the background not show up at all? That will help narrow down the problem.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
jmp909, 7 years ago

don't rely on CSS and XHTML for emails. use tables and inline styles.

the <body> tag will generally be ignored with web-based clients as they have their own <body> tag since they are an html page themselves.

use a <table bgcolor...> or <td bgcolor...>

for your main background colour use a 100% width table

j.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098