topical media & game development

talk show tell print

#javascript-css-row-color-demo.htm / htm



  <head>
  <style>
  .rowTint {
    background-color: #ddd;
  }
  </style>
  
  <script type="text/javascript" src="javascript-css-row-color-script.js"></script>
  </head>
  <body>
  
  <table align="center">
    <thead>
      <tr>
      <th>Browsers</th>
      <th>Hits</th>
      <th>Percent</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Mozilla Firefox</td>
        <td>15772</td>
        <td>73%</td>
      </tr>
      <tr>
        <td>Internet Explorer 6</td>
        <td>4581</td>
        <td>21.2%</td>
      </tr>
      <tr>
        <td>Mozilla</td>
        <td>442</td>
        <td>2%</td>
      </tr>
      <tr>
        <td>Opera</td>
        <td>122</td>
        <td>0.5%</td>
      </tr>
      <tr>
        <td>Safari</td>
        <td>100</td>
        <td>0.4%</td>
      </tr>
      <tr>
        <td>Netscape</td>
        <td>99</td>
        <td>0.4%</td>
      </tr>
    </tbody>
  </table>
  
  </body>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.