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













1















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:



enter image description here



but in Windows 10 Mail the gradient is not rendered:



enter image description here



Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










share|improve this question


























    1















    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:



    enter image description here



    but in Windows 10 Mail the gradient is not rendered:



    enter image description here



    Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










    share|improve this question
























      1












      1








      1








      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:



      enter image description here



      but in Windows 10 Mail the gradient is not rendered:



      enter image description here



      Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










      share|improve this question














      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:



      enter image description here



      but in Windows 10 Mail the gradient is not rendered:



      enter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 21:11









      teresteres

      1257




      1257






















          1 Answer
          1






          active

          oldest

          votes


















          2














          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)





          share|improve this answer























          • 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










          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
          );



          );













          draft saved

          draft discarded


















          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









          2














          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)





          share|improve this answer























          • 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















          2














          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)





          share|improve this answer























          • 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













          2












          2








          2







          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)





          share|improve this answer













          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)






          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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



















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

          2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

          Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme