Hello, white-space: pre-wrap isn’t reliably supported in Outlook Web (Outlook.com or Office 365 Mail), this behavior is by design since Outlook uses its own rendering rules that differ from standard browsers.
It’s better to insert <br> for line breaks and use for extra spaces.
If you need to check which CSS properties work across different Outlook versions, I recommend these compatibility references:
- Can I Email: https://www.caniemail.com/features/css-white-space/
- Litmus guide on Outlook rendering: https://www.litmus.com/blog/a-guide-to-rendering-differences-in-microsoft-outlook-clients
This way you’ll avoid inconsistent spacing across clients.
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.