title: Excel Export as html fails to show borders in Excel 2016
body: <p>I am exporting html to an Excel <code>xls</code> file using JavaScript as in following demo: <a href="http://js.do/sun21170/84913" rel="noreferrer">http://js.do/sun21170/84913</a>.  I have used Google Chrome to run this demo but it should run in Edge or IE or FireFox also.</p>
  
  <p>The problem is that when I open the exported file in <code>Excel 2016</code>, it shows without any borders even though there is CSS in the exported html to show borders.</p>
  
  <p><strong>Question</strong>: Is there a way to show the borders when html file opens in Excel? The same html that opens in Excel, renders with borders in a browser, so the CSS for borders is correct. The demo at <a href="http://js.do/sun21170/84913" rel="noreferrer">http://js.do/sun21170/84913</a> also shows the html being saved in Excel file.</p>
  
  <p><a href="https://i.stack.imgur.com/z4rWr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/z4rWr.png" alt="Html Table with missing Borders"></a></p>
  
  <p><strong>HTML saved as xls file</strong></p>
  
  <pre><code>&lt;html&gt;
     &lt;head&gt;
        &lt;style&gt; table, td {border:1px solid black} table {border-collapse:collapse}&lt;/style&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;table&gt;
           &lt;tr&gt;
              &lt;td&gt;Product&lt;/td&gt;
              &lt;td&gt;Customer&lt;/td&gt;
           &lt;/tr&gt;
           &lt;tr&gt;
              &lt;td&gt;Product1&lt;/td&gt;
              &lt;td&gt;Customer1&lt;/td&gt;
           &lt;/tr&gt;
           &lt;tr&gt;
              &lt;td&gt;Product2&lt;/td&gt;
              &lt;td&gt;Customer2&lt;/td&gt;
           &lt;/tr&gt;
           &lt;tr&gt;
              &lt;td&gt;Product3&lt;/td&gt;
              &lt;td&gt;Customer3&lt;/td&gt;
           &lt;/tr&gt;
           &lt;tr&gt;
              &lt;td&gt;Product4&lt;/td&gt;
              &lt;td&gt;Customer4&lt;/td&gt;
           &lt;/tr&gt;
        &lt;/table&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>