Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Make section width 100%, column width 600px

Posted on by Microsoft Employee

I'm new to Dynamics and building an email template, but having trouble with getting the section background color to fill over the full width of the email, because I don't want my content to be 100%.

I want the grey and the orange (see image below) to fill at 100% width, but I want the content (header text, logo, banner) to be at 600px wide. So far I haven't been very successful. What I would like is a custom setting in my Content block that allows me to set the width (so a new setting in the second image below). So not just for only the email. Is that possible with the meta codes?

<meta type="xrm/designer/setting" name="<name>" value="<initial-value>" datatype="<data-type>" label="<label>">

So I could make this into something like:

<meta type="xrm/designer/column" name="columnWidth" value="600px" datatype="number" label="columnWidth">

If this works, what CSS class would I have to change for it to use the custom setting as the width? And how would I make sure it's aligned center?

See the third image as an example of what I would like to achieve.

pastedimage1656422631742v1.png

pastedimage1656423373002v2.png

pastedimage1656423468163v3.png

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Make section width 100%, column width 600px

    Hi E. Tijd,

    It seems that your are using D365 Marketing, right? If so, please post it at Marketing forum for further help:

    Dynamics 365 Marketing - Forums, Blogs, Support

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans