It is possible that the styles we are using may not be compatible with the Windows Mail app in Outlook. In order to make the style applicable for desktop app as well, we may need to modify the code by using inline styles rather than relying on external stylesheets.
Outlook is known to have limited support for CSS, so some styles may not work as expected. In particular, Outlook may not always support padding and line-height.To solve this issue we can use ,a table and td element to create a container. we can place our code(a tag,span etc) inside the td element and given the desired styles. By using a table structure, we can achieve a consistent layout across different email clients, including Outlook.
By adding the mso-line-height-rule: exactly; style to the a tag,we may be able to override any default styles applied by Outlook’s Word rendering engine