I crafted an html e-mail using the code below:
<!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>
After testing this code in Outlook 2016 (Win 7)
, an unexpected result appeared.
The rendered HTML in Outlook 2016 (Win 7)
looked like this:
https://i.stack.imgur.com/PPc7u.jpg
rather than what was expected:
https://i.stack.imgur.com/ERwwQ.jpg
Could this be a known issue with Outlook? Any suggestions on how to resolve it?
Using an image with dimensions of 127x180 yields a similar outcome, except that the image appears smaller.