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

Troubles with CTA buttons in emails

(0) ShareShare
ReportReport
Posted on by 135

Hi everyone, 

We regularly have a problem with the display of our emails. For exemple the registration or Teams check-in button in outlook.

Some users see it, others do not? What can we do? What are the possible leads or sources of problems?

pastedimage1623235972898v1.png

It also appears that the emails totally change when we forward them

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

    Hi,

    There are frequently feedbacks about problems with the formatting of Marketing Emails in Outlook, which is not actually a problem with Dynamics.

    Please try to add the following snippet of CSS code into the HTML designer of the email to see if the buttons can be shown normally.

     

    #outlook a {
    			padding: 0;
    		}
    		/* Force Outlook to provide a «view in browser» message */
    
    		table,
    		td {
    			mso-table-lspace: 0pt;
    			mso-table-rspace: 0pt;
    		}
    		/* Remove spacing between tables in Outlook 2007 and up */
    		/* RESET STYLES */
    
    		body {
    			margin: 0;
    			padding: 0;
    		}
    
    		img {
    			border: 0;
    			height: auto;
    			line-height: 100%;
    			outline: none;
    			text-decoration: none;
    		}
    
    		table {
    			border-collapse: collapse !important;
    		}
    
    		body {
    			height: 100% !important;
    			margin: 0;
    			padding: 0;
    			width: 100% !important;
    		}

    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

  • Suggested answer
    Sahana Bhattacharya Profile Picture
    5 on at

    Changing the dimensions of the cta from px to pt solved the issue for me. For example, if the width is 169px, it should be changed to 169*0.75=126.75pt or 127pt. And 44px height should become 33pt.

    I had used a vml button (v:roundrect) with fixed dimensions (width & height). Earlier, the dimensions were in pixels and I was facing the same issue in office 365 mail.

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 60 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 26

#3
CU07021359-0 Profile Picture

CU07021359-0 23 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans