C
C
Christina2017-07-08 00:29:14
css
Christina, 2017-07-08 00:29:14

How to set email background color?

545c5660d65b4c139aa42a57335c7a50.png
Hello!
Can you please tell me how to set the background color of the email newsletter?
So that the white background is black for example?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Nepritimov, 2017-07-08
@nepritimov_m

style="background:black;"
won't it roll?
Inline styles should be used when laying out letters. Well, I didn't understand the question.

K
Kristina Golovashin, 2020-11-05
@xtina-golovashin

You can set the background color for the entire table or for a specific cell using the bgcolor attribute :

<table bgcolor="#ffffff" width="600">Таблица</table>
<td bgcolor="#ffffff">Ячейка</td>

You can also specify the background color in the style tag :
<td style="background-color: #ffffff">Ячейка</td>
It is worth remembering that not all email clients support the background color or background image , so it is better to specify both the attribute and the property in styles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question