S
S
smithana2018-04-16 13:31:33
css
smithana, 2018-04-16 13:31:33

Is there an analogue of background-size: cover in email layout for Outlook?

Outlook does not support background-image css properties. He needs to write his spells, or rather not his, but Word's.
The image is displayed, but it is not stretched to its full length.
I looked around a bunch of foreign sites, but I did not find a solution to this particular problem. Is there any spell? Or do you just need a background image to make a huge width?
My layout:

<table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;width:100%;max-width:900px;">
  <tbody>
    <tr>
      <td background="some_url_to_img.jpg" style="background-size:100% 100%;background-position:50% 50%;background-repeat: no-repeat;" bgcolor="#d0d0d0" valign="top">
        <!--[if gte mso 9]>
                <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="mso-width-percent:1000;height:295px;">
                <v:fill type="tile" src="some_url_to_img.jpg" color="#d0d0d0" />
                <v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
                <![endif]-->
                <div>
                	<table>
                		<tr>
                			<td style="padding:50px 70px 25px;">
                				<p style="color:#282828;font-family:Helvetica,sans-serif;border-bottom: 2px solid #4295d1;font-weight:300;margin-top:0;margin-bottom:30px;padding-bottom:25px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel voluptas, accusantium blanditiis libero error veniam quam, odio ratione sequi dolor nisi, earum dicta quia quod, deleniti voluptatem laborum corporis cupiditate!</p>
                			</td>
                		</tr>
                	</table>
                </div>
                <!--[if gte mso 9]>
                </v:textbox>
                </v:rect>
                <![endif]-->
      </td>
    </tr>
  </tbody>
</table>

Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NaN, 2018-04-16
@KornevaViktoria

They write that
brandmonkey.ru/blog/e-mail-marketing/229-fonovye-i seems to be supported...
And you can try this way: https:
//stackoverflow.com/questions/32590/how-make-background-imag...
https ://backgrounds.cm/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question