Can I use a div in an email template?

I am very confused about developing an email template for the mailchimp campaign. I want to know if I can use a div with the class "Container" in my email template. Uses div tags supported by all email clients? I use the DIV only for the container, but in the inside of the template I used the table , tr and td tags. Please let me know.

Thanks.

+7
html email templates mailchimp
source share
2 answers

You can use a div, however tables are supported more consistently. If you try to traverse the div route, you will find that some of your CSS will fail.

Also, going with tables, he opens the attributes of the old school html, which work only in tables. These include align , valign , bgcolor , etc., all of which are 100% supported, while their CSS equivalents have partial support.

On the side of the note, here are all the resources you need to get started with your html email address.

+12
source share

There are no layout specifications using tables or tables. However, using tables is the preferred way, since it displays everything at once. This is consistent with the way email templates are rendered; and the div is separate. If you are using a div, enable the css built into the template, as some clients do not support external css.

+3
source share

All Articles