web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Content block, not listening to padding

(0) ShareShare
ReportReport
Posted on by 160

Hi all, 

I have created a footer where i have put code: padding: 20px 0px 0px 0px for a text. 

It looks good in the content block designer and also when it is live. But when I insert it into a marketing email the padding disappears.

I created this footer a month ago and never experienced this problem before. Neither has I changed anything in the code. How can I get my 20px space between two of the lines?

Would appriciate the help, Thanks!

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at

    Hi Filippa,

    You can adjust the line-height in HTML designer to achieve your request.

     

    div {
        line-height:20px;
    }

    Please refer to the following link to know more about it:

    CSS line-height property (w3schools.com)

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Filippa f Profile Picture
    160 on at

    Hi Nya!

    Thank you, the thing is that I only want spac between two of the lines. I have 4. So 2 schould have the same line height *bigger space* then the other two with the same line height.

    It worked when I sat the padding for the text block, but now when I insert the content block it doesn't listen to:

    1.background: #F0F3F2;

    2. }

       a { text-decoration: none;

    }

    a { color: #000000; } /* CSS link color */

    So it's just a white background with the blue link color instead of staying black as i put in the code.

  • Nya Profile Picture
    29,060 on at

    Hi Filippa,

    Would you please provide a screenshot with the exact effect which you need?

    For example, the effect in the text block.

    This makes it easier for me to understand.

    Thanks a lot.

     

    Best Regards,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 202 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans