html email layout

I am working on the creation of an html email.  I have done a table layout, but not sure how to have the main table show a background image.  I have used background-image:url(img/bg.png); but that works only in some cases.  Is there a sure fire way to get it to work alteast on all the main ones.

Thank you
solsticeintAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
Well, forget it. CSS is not really good supported in most e-mail clients.
0
Tom BeckCommented:
Have a look at this method. It might get enough email client support to make it worth while.

http://backgrounds.cm/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
solsticeintAuthor Commented:
is there anyway to get a background working in an email?  short of doing the whole email as an image?  So many drawbacks to that too!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tom BeckCommented:
You don't want the whole email background as an image because if the user hits Reply, their email will have that background image as well. A potential mess. Only add background image to one table-cell of your email content.
0
solsticeintAuthor Commented:
Right now I have it as a one large 600px wide table with that in the background then the other info over it.

Michael
0
Tom BeckCommented:
As long as the background image is contained within a table and not applied to the <body> you should be okay. Have a fallback solid color for email clients who refuse to display images.
0
Dave BaldwinFixer of ProblemsCommented:
background-image:url(img/bg.png);
That won't work as is on any email clients that I know of because it is not a complete URL.  They are certainly not going to have "img/bg.png" as a location on their email folders.  And of course, almost all email clients block external images until the recipient Oks them.
0
Loganathan NatarajanLAMP DeveloperCommented:
Better use table background property to display image background. it works most of the email clients
0
RobOwner (Aidellio)Commented:
start with this reference https://www.campaignmonitor.com/css/ 
it's very good and will site you the differences between email clients on what is possible what's not.

the best approach is to have your full marketing email online (e.g.a website page) and send a teaser as the email.

trying to do everything in the email doesn't work and doesn't look professional these days.
0
solsticeintAuthor Commented:
The http://backgrounds.cm/ seemed to really help.  Thank you for all you help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.