> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-unity-sdk-initialization-split.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Does the Padding of an HTML Content Block Impact the Entire Template?

> Fix unintended global padding in MoEngage email templates by using inline CSS and avoiding duplicate body tags in custom HTML content blocks.

## Problem

The padding intended to be applied only to a specific HTML *Content block* is being added to the entire template instead.

<img alt="Untitled design (33).png" src="https://mintcdn.com/moengage-unity-sdk-initialization-split/u1LnHMqsoAv32rTJ/images/moengage_dd1b32.png?fit=max&auto=format&n=u1LnHMqsoAv32rTJ&q=85&s=d82ee6c5551e32eb321a1f095f7cbd9a" width="1920" height="903" data-path="images/moengage_dd1b32.png" />

## Solution

* Use content tags and text elements to add content to the body.
* Avoid adding duplicate `<html>` tags in *custom* *content blocks*.
* Adding global styles may cause unintended effects. For example, the styles applied also affect the editor's user interface (UI).
* If styling is required, use inline Cascading Style Sheets (CSS) to ensure it only affects the specific element.

<Info>
  It is recommended that the content be written in HTML code first, and then inline styling is applied to achieve the desired appearance.
</Info>
