Windows 10 mail gradient not displayingHow does Windows 8 Runtime (WinRT / Windows Store apps / Windows 10 Universal App) compare to Silverlight and WPF?How can I update npm on Windows?Node.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'IIS Manager in Windows 10Windows 10 Mail App with Outlook Conditional VMLDisable beep of Linux Bash on Windows 10Uninstall option not showing for installed apps in windows 10Mail messages sent from nodemailer are not showing in user mail sent boxProgrammatically display 2 applications side by side in Windows 10 tablet modeSending Mail with nodemailer and node.js
If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?
Does a 'pending' US visa application constitute a denial?
How do I find all files that end with a dot
Why should universal income be universal?
Is it possible to put a rectangle as background in the author section?
Can I sign legal documents with a smiley face?
Is there a working SACD iso player for Ubuntu?
Why does the Sun have different day lengths, but not the gas giants?
How do you make your own symbol when Detexify fails?
Biological Blimps: Propulsion
Travelling outside the UK without a passport
WiFi Thermostat, No C Terminal on Furnace
Create all possible words using a set or letters
It grows, but water kills it
Closed-form expression for certain product
Store Credit Card Information in Password Manager?
What is this called? Old film camera viewer?
What is this cable/device?
What if a revenant (monster) gains fire resistance?
Count the occurrence of each unique word in the file
Start making guitar arrangements
Is there a single word describing earning money through any means?
The screen of my macbook suddenly broken down how can I do to recover
Did arcade monitors have same pixel aspect ratio as TV sets?
Windows 10 mail gradient not displaying
How does Windows 8 Runtime (WinRT / Windows Store apps / Windows 10 Universal App) compare to Silverlight and WPF?How can I update npm on Windows?Node.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'IIS Manager in Windows 10Windows 10 Mail App with Outlook Conditional VMLDisable beep of Linux Bash on Windows 10Uninstall option not showing for installed apps in windows 10Mail messages sent from nodemailer are not showing in user mail sent boxProgrammatically display 2 applications side by side in Windows 10 tablet modeSending Mail with nodemailer and node.js
I discovered a problem on the Mail
app available in Windows 10
, in particular, I developed a little app in NodeJS
that send the email with nodemail
package, this email have in the header the following layout:
<div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px;
text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
<%= process.env.COMPANY_NAME %></strong>
</div>
the email is perfectly displayed in GMAIL
:
but in Windows 10 Mail
the gradient is not rendered:
Is this a bug of Windows 10 Mail
app? Because in other email software I got no problem.
node.js windows-10 nodemailer windows-10-desktop
add a comment |
I discovered a problem on the Mail
app available in Windows 10
, in particular, I developed a little app in NodeJS
that send the email with nodemail
package, this email have in the header the following layout:
<div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px;
text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
<%= process.env.COMPANY_NAME %></strong>
</div>
the email is perfectly displayed in GMAIL
:
but in Windows 10 Mail
the gradient is not rendered:
Is this a bug of Windows 10 Mail
app? Because in other email software I got no problem.
node.js windows-10 nodemailer windows-10-desktop
add a comment |
I discovered a problem on the Mail
app available in Windows 10
, in particular, I developed a little app in NodeJS
that send the email with nodemail
package, this email have in the header the following layout:
<div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px;
text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
<%= process.env.COMPANY_NAME %></strong>
</div>
the email is perfectly displayed in GMAIL
:
but in Windows 10 Mail
the gradient is not rendered:
Is this a bug of Windows 10 Mail
app? Because in other email software I got no problem.
node.js windows-10 nodemailer windows-10-desktop
I discovered a problem on the Mail
app available in Windows 10
, in particular, I developed a little app in NodeJS
that send the email with nodemail
package, this email have in the header the following layout:
<div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px;
text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
<%= process.env.COMPANY_NAME %></strong>
</div>
the email is perfectly displayed in GMAIL
:
but in Windows 10 Mail
the gradient is not rendered:
Is this a bug of Windows 10 Mail
app? Because in other email software I got no problem.
node.js windows-10 nodemailer windows-10-desktop
node.js windows-10 nodemailer windows-10-desktop
asked Mar 7 at 21:11
teresteres
1257
1257
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.
Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.
You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).
Here are some links where you can learn more about this complicated issue:
Coding for Windows 10 Mail App (emailonacid.com)
Why Clients Render Email Differently (MailChimp)
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052853%2fwindows-10-mail-gradient-not-displaying%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.
Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.
You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).
Here are some links where you can learn more about this complicated issue:
Coding for Windows 10 Mail App (emailonacid.com)
Why Clients Render Email Differently (MailChimp)
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
add a comment |
This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.
Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.
You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).
Here are some links where you can learn more about this complicated issue:
Coding for Windows 10 Mail App (emailonacid.com)
Why Clients Render Email Differently (MailChimp)
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
add a comment |
This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.
Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.
You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).
Here are some links where you can learn more about this complicated issue:
Coding for Windows 10 Mail App (emailonacid.com)
Why Clients Render Email Differently (MailChimp)
This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.
Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.
You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).
Here are some links where you can learn more about this complicated issue:
Coding for Windows 10 Mail App (emailonacid.com)
Why Clients Render Email Differently (MailChimp)
answered Mar 8 at 4:26
ty2kty2k
1639
1639
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
add a comment |
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background
– teres
Mar 8 at 11:36
1
1
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.
– ty2k
Mar 8 at 17:52
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052853%2fwindows-10-mail-gradient-not-displaying%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown