title: Change the color of an empty or 0 cell in html table
body: <p>I have a html table that displays mysql data.
  How to change the color of an empty or =0 cell ?
  THX.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table border="1px" align="center"&gt;
   &lt;tr&gt;&lt;td&gt;&lt;?php echo $data['value1'] ?&gt;&lt;/td&gt;
     &lt;td&gt;&lt;?php echo $data['value2'] ?&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>table { border-collapse: collapse; width: 100%; }
  td { border-bottom: 1px solid black; background-color: white; padding: 1px; text-align: center; font-size: 8pt;}</code></pre>
  </div>
  </div>
  </p>