<!doctype html>
<html>
  <head>
    <title>table simple</title>
    <meta charset="utf-8"/>
  </head>
  <style>
    div {
    position: absolute;
    width: 2em; height: 2em;
    }
  </style>
  <body>

    <div style="top: 0; left: 0; background: red"></div>
    <div style="top: 0; left: 2em; background: green"></div>
    <div style="top: 0; left: 4em; background: blue"></div>

    <div style="top: 2em; left: 0; background: red"></div>
    <div style="top: 2em; left: 2em; background: magenta"></div>
    <div style="top: 2em; left: 4em; background: cyan"></div>

    <div style="top: 4em; left: 0; background: #eee"></div>
    <div style="top: 4em; left: 2em; background: #eee"></div>
    <div style="top: 4em; left: 4em; background: #eee"></div>

  </body>
</html>
