Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 Mail will underline links by default (even with text-decoration: none specified inline) #118

Open
TaxiTweedy opened this issue Jul 29, 2022 · 2 comments

Comments

@TaxiTweedy
Copy link

TaxiTweedy commented Jul 29, 2022

As the title says, Windows 10 Mail will underline links by default, even when text-decoration: none; has been specified inline.

This can cause particular issues with buttons.

To over-ride this behaviour I've found adding a reset CSS style will stop this

a { text-decoration: none; }

Links with text-decoration: underline; inline will be underlined as expected still.

@JayOram
Copy link

JayOram commented Aug 3, 2022

I've included this in the link-resets here, by targeting it specifically inside mso-comments it can fix the links only for windows Outlook. Hate reseting link styling then overriding it inline to get the styling I want 😡

@TaxiTweedy
Copy link
Author

Nice one @JayOram! Good shout on the mso conditionals, didn't even think about that (it was late on a Friday!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants