...
It is strongly discouraged to bind external sheets. Prefer the inclusion of CSS class definitions in a <style>
tag in the <head>
element of the HTML template to ensure a better compatibility.
...
Note
Since version 10.5.0 WEDIA WXM no longer transforms CSS styles in inline styles in the export files in order to avoid the modifying of the email behavior. It is therefore important to inquire with the email broker in order to know what it recommends in the case of CSS use and whether it realizes itself this transformation at the time of sending emails.
More generally, it is important to know good practices and rules of use for style sheets according to customers targeted email, there are excellent articles on blogs and support pages:
litmus and mailchimp just to name a few, to get some ideas of the state of the art on the subject.
Templates responsive design
...
Note that for each style the element to which it should apply is declared. This is not necessary but nevertheless recommended. If the element is not specified the editor will allow it to use these styles by default on P elements (if the content to be edited is in an HTML element of type block different from P) or on SPANs.
Tipinfo |
---|
As far as possible, always prefer the declaration of the element in the styles declaration in order to best control the HTML generated by the publisher. Note: before the 10.5.0 version of the engine, style names cannot contain capital letters. |
...
Modify the image so that it respects the constraints of the model
Note |
---|
this This method requires the rendition tool to be enabled on the WXM image content object (default galleryelement). |
...