Is there a way to create the effect of a container inside a container in a template?

Highlighted
Anonymous
Not applicable

Is there a way to create the effect of a container inside a container in a template?

Hi,

Is there a way to create the effect of a container inside a container in a template?

I have several modules that I need to group together, but I need to add a background colour behind all of those modules.

Example:

I have 3 separate modules; module 1, module 2 & module 3. They all have red backgrounds. I need to wrap those 3 red modules inside another table and that outer table needs to have a red background too. I want to eliminate the chance of a white line appearing between those 3 different modules. If all 3 modules are wrapped in same container with a red background colour - if the line does appear, you won't see it, because the background is red. I've read that you can't have 2 containers - but is there another way to achieve this?

Any help would be appreciated.

Thanks

Tags (1)
1 REPLY 1
Highlighted

Re: Is there a way to create the effect of a container inside a container in a template?

Hi Liisa,

This question belongs to Products. Please move it there, and you will get more answers

And no, you cannot have nested containers, not even 2 containers in 1 templates. Read this Email editor 2.0 is leaving room for a v2.1

Usually, lines appear on tables on some older email clients because you have forgotten to add cellpadding="0" cellspacing="0" border="0" attributes to the table as well as proper CSS to also remove any border.

You can also set the background color of your container with 1 variable.

-Greg