Hi Premjeet Patil,
Thanks for reaching out to Microsoft Q&A Forum. I understand that your Outlook did not show correctly as your inline-css script in your HTML email template.
This happen because Outlook clients handle CSS differently. Try to use a table-based structure for buttons (Apply background color, padding to the <td> element and keep text styling (color, font) on the <a> tag) and including a VML fallback (commonly called a “bulletproof button”) in Outlook Desktop. For example:
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#D12B2F" style="border-radius:15px; padding:12px 25px;">
<a href="#"
style="color:#ffffff; font-family:Arial, sans-serif; font-size:16px; font-weight:bold; text-decoration:none; display:inline-block;">
Pay Online
</a>
</td>
</tr>
</table>
For full Outlook compatibility, you can add VML code for rounded corners. Resources like Litmus Bulletproof Buttons provide ready-to-use templates.
Disclaimer: This is a third-party link that provides useful information to help you resolve the issue. Please be cautious of advertisements and unsafe links.
If your issue persists, really hope you can provide screenshot of email display in Outlook Web for me.
The initial response might not address the problem. So, if your problem persists or you need any assistance, feel free to ask me by clicking "Add Comment" or "Post Answer" if you cannot add comment. This helps me can read your follow up. Thanks for your effort.
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.
Best regards.