Skip to main content

Notifications

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

  • Suggested answer
    RE: Troubles with CTA buttons in emails

    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.

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Troubles with CTA buttons in emails

    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans