Why aren't my backgrounds working?


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 color, 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);â€>

To get background images working in Gmail, try using the “background†attribute within your TDs.

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

  • 78 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

Gmail is converting my email addresses to links.

Yes, if you have an email address listed without a link, Gmail will add it for you.  For...

How do I create dynamic urls using field names?

To view all variable names you can use for fields within the system go to Forms - Fields Manager....

How do I get around the fact that Gmail does not support embedded CSS?

One way to get around this issue is to convert your embedded CSS into inline using our CSS...

I am trying to save but the save button isnt working

The most common reason for the save not saving is because on the top part of your page "Message...

I am using a small font and my line spacing is all screwed up.

This is because of the Gmail DOCTYPE, try putting your font inside a paragraph tag instead of...