[EN] Background images in the newsletter
Using background images in newsletters
There are basically two ways to use background images in a newsletter. We would like to introduce these to you here – but please note that support in the respective email clients cannot be guaranteed.
All values in the example in a [...] must be replaced by an image path or colour value.
Background image behind entire newsletter
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
<v:fill type="tile" src="[Bildpfad]" color="[Standardfarbe]" />
</v:background>
| Inhalt |
Background image behind a certain area
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style={"width":"120px","height":"92px"}>
<v:fill type="tile" src="[Bildpfad]" color="[Standardfarbe]" />
<v:textbox inset="0,0,0,0">
<div>
Inhalt
</div>
</v:textbox>
</v:rect>
With this option, a fixed height must be specified, otherwise the background image may repeat in all directions. The height can also be set variably, but you will need to adjust the code slightly to do so.
Restrictions in Outlook
Right and bottom alignment is not possible here Excessively high image quality causes long loading times here
* Display in the client cannot be guaranteed
Updated 9 months ago
