How to style button in outlook application 2016

Ankush Jassal 0 Reputation points

I've created a forgot password emailer and also put a button to "RESET PASSWORD," and the formatting of css and html is displayed perfectly in Gmail and Outlook when I open in a browser.
When I open the same in the Outlook application, the "RESET PASSWORD" button is not showing correctly. It's not picking colour and margin-top/padding-top.

Can anyone help me resolve this problem? I am using Outlook 2016 and screenshot is from outlook application. Capture

A family of Microsoft email and calendar products.
1,082 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 30,046 Reputation points

    Hi @Ankush Jassal ,

    Outlook 2016 uses Word as a rendering engine, which is different from other web-based email clients. So, it could happen that html emails that can display properly in other email clients may have formatting issues in Outlook desktop clients.

    Below are some links about similar situations, you can go through them and make some adjustment in your button code accordingly:

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments