Gmail doesn’t allow backgrounds (mostly)

If you include any reference to a URL, your entire declaration will be ignored.

For example:

background: #000;  /*This will be accepted */ 

 

background: #000 url(http://www.test.com/test.jpg); /* This entire line will be ignored */ 

With that said, if you ever want to back up your background image with a colour, be sure to do it within a different inline CSS declaration.

For example:

<td style=” background: #000;  background: #000 url(http://www.test.com/test.jpg);”> 

Another option is to use the “background” attribute within your TDs.

<td background=“http://www.test.com/test.jpg” bgcolor=”#eeeeee”>

 

 

Sending
User Review
5 (1 vote)

Rogerio da Silva

Test Analyst (ISTQB-ISEB Certified Tester) | Test Lead | Business Test Analyst | Entrepreneur | Investor Share, Stocks, Forex and Cryptocurrency | Social Media Marketing | Social Media Management | Website Consulting & Revision | Email Consulting (Funnel Setup) Rogerio da Silva is a Consultant as a day job and big fan of personal development and entrepreneurship. Feel free to follow him on LinkedIn, Twitter, Facebook Page, Tumblr, Google+ to talk about ideas, investments, business opportunities in UK and Brazil.

Leave a Reply

%d bloggers like this: