Answer the question
In order to leave comments, you need to log in
Why does the class disappear when html layout of the letter?
Hello. I am typing a template for an order confirmation letter in an online store. In the engine, the template is written like this:
<!DOCTYPE html>
<html lang="ru">
<head>
<meta name="viewport" content="width=device-width;initial-scale=1.0; user-scalable=1;" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Шаблон пи сьма</title>
<style>
@media only screen and (max-width: 480px) {
}
</style>
</head>
<body bgcolor="#000" style="margin: 0; padding: 0;">
<div class="e_test" style="display:table;width:100%;">тестирование</div>
</body>
</html>
@media only screen and (max-width: 480px)
<div class="e_test" style="display:table;width:100%;">тестирование</div>
<div style="display:table;width:100%;">тестирование</div>
class=""
Answer the question
In order to leave comments, you need to log in
Not all email clients support media queries and style.
Support table: campaignmonitor
Here is a series of articles on this topic in Russian https://www.google.com/search?q=habr+imposition+letters
In short, everything is very bad, from the word at all. In addition to Yandex, there are other mail systems, and people also use desktop mail programs and phone applications. And ALL have their troubles, their bugs and problems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question