Answer the question
In order to leave comments, you need to log in
Is there an equivalent object-fit: cover for desktop Outlook?
The html file has a header with an image.
Its width should be no more than 736px and its height 459px.
The problem would be easily solved by using background-size: cover or object-fit: cover, but these are not supported by
Outlook desktop and therefore the picture is either full size or just flattened.
The block with the image now looks like this:
<tr>
<td style="border-collapse:collapse; line-height:0; mso-table-lspace:0; mso-table-rspace:0; padding:0">
<img src="https://d2zjge1f9hor5r.cloudfront.net/media/hero_image/412/347/latkevodka_11.jpg" width="736" height="459" alt="" style="display:block; width:100%; max-width: 736px" />
</td>
</tr>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question