Я создал HTML-сообщение со следующим кодом:
<!DOCTYPE html>
<html style="margin:0px;padding:0px;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body style="margin:0px;padding:0px;">
<div style="background-color:orange;max-width:600px;height:180px;margin-left:auto;margin-right:auto;">
<img src="http://placehold.jp/500x710.png" style="height:180px;width:127px;display:block;border:0;float:right;margin:0px;padding:0px;">
<p style="font-size:40px;padding-left:10px;margin-top:0px;padding-top:40px;">This is my important<br>html test</p>
</div>
</body>
</html>
Я также протестировал этот код с Outlook 2016 (Win 7)
и получаю неожиданный результат.
В Outlook 2016 (Win 7)
HTML отображается так:
![enter image description here](https://i.stack.imgur.com/PPc7u.jpg)
вместо ожидаемого, как это:
![enter image description here](https://i.stack.imgur.com/ERwwQ.jpg)
Это известная проблема Outlook? Как я могу это исправить?
Использование изображения с разрешением 127x180 приводит к тому же результату, только изображение меньше.