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

Notifications

Announcements

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 61 Super User 2025 Season 2

#2
Satyam Prakash Profile Picture

Satyam Prakash 24

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans