| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>CSS Reference</title> |
| <link rel="author" title="Intel" href="http://www.intel.com"> |
| <style> |
| html, body { background: white; } |
| table { border-spacing: 0 2px; padding: 0; border: none; } |
| td { border: none; padding: 0; } |
| td, div { height: 1.2em; } |
| </style> |
| <body> |
| <p>Every row in this table should have both columns the same color:</p> |
| <table> |
| <tr> |
| <th style="background:white; color: black">Column 1</th> |
| <th style="background:black; color: white">Column 2</th> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(204, 204, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(163, 163, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(153, 153, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(92, 92, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(102, 102, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(41, 41, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(51, 51, 255)"> </td> |
| </tr> |
| <tr> |
| <td colspan='2' style="background: rgb(10, 10, 255)"> </td> |
| </tr> |
| </table> |
| </body> |