Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
The white lines are rendering bugs in Outlook. You can't prevent them completely, but I think they can be prevented for the most common display settings. In summary:
- Set all text line-heights to multiples of 4px, like this:
<table style="mso-line-height-rule: exactly; line-height: 16px"> - Set all other widths and heights (padding, borders, etc.) to multiples of 4px.
See my full explanation at https://stackoverflow.com/a/75871675/3553075.