I would like to add spacing between blocks in an email
SOLVE
This is a tough one to answer without your code, but this maybe easily solved.
The image above shows a simple html structure with 1 css hint (padding). Basically if you remove padding from your content block you then can create another block level element for the 'background-image'. And then another with padding for the text block. Something along these lines could solve for your usecase.
Heres a little psuedo to hopefully get my idea across.
<body>
<content-block style="width: 600px;">
<img-block style="display: block; height: 200px;">
</img-block>
<text-block style="padding: 30px;">
<h1>Content Title</h1>
<p>More about the content and such</p>
<etc…>
</text-block>
</content-block>
</body>
Let me know if this helps or just makes things worse!
I would like to add spacing between blocks in an email
SOLVE
Le me clirify the issue I have to obtain this, I can get a block that's the same color as my background in my email pretty easily, but I think the global padding that I have on my emails always ads a white padding around it
I would like to add spacing between blocks in an email
SOLVE
This is a tough one to answer without your code, but this maybe easily solved.
The image above shows a simple html structure with 1 css hint (padding). Basically if you remove padding from your content block you then can create another block level element for the 'background-image'. And then another with padding for the text block. Something along these lines could solve for your usecase.
Heres a little psuedo to hopefully get my idea across.
<body>
<content-block style="width: 600px;">
<img-block style="display: block; height: 200px;">
</img-block>
<text-block style="padding: 30px;">
<h1>Content Title</h1>
<p>More about the content and such</p>
<etc…>
</text-block>
</content-block>
</body>
Let me know if this helps or just makes things worse!