<html>
<head>
     <title>Div example</title>

<style type="text/css"> 
.container1{
    clear: left;
}

.container1 div {
    width: 10px;
    height: 10px;
    border: 1px solid #000000;
    float: left;
    font-size: 10px; font-family: monospace;
    text-align: center;
}   

.container2 div {
    width: 10px;
    height: 10px;
    border: 1px solid #ffffff;
    float: left;
    font-size: 10px; font-family: monospace;
}   

.cellA {
    background-color: #ff9900;
}
.cellB {
    background-color: #33cc99;
}
.cellC {
    background-color: #3399ff;
}
</style>
</head>
<body>
<div class="container2">
<div>31</div>
<div>30</div>
<div>29</div>
<div>28</div>
<div>27</div>
<div>26</div>
<div>25</div>
<div>24</div>
<div>23</div>
<div>22</div>
<div>21</div>
<div>20</div>
<div>19</div>
<div>18</div>
<div>17</div>
<div>16</div>
<div>15</div>
<div>14</div>
<div>13</div>
<div>12</div>
<div>11</div>
<div>10</div>
<div>&nbsp;9</div>
<div>&nbsp;8</div>
<div>&nbsp;7</div>
<div>&nbsp;6</div>
<div>&nbsp;5</div>
<div>&nbsp;4</div>
<div>&nbsp;3</div>
<div>&nbsp;2</div>
<div>&nbsp;1</div>
<div>&nbsp;0</div>
<div>&lt;bitnumber</div>
</div>

<div class="container1">
<div class="cellA">1&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellB">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
<div class="cellC">0&nbsp;</div>
</div>
<br />
<div class="container2">
<div>1&nbsp;</div>
<div>2&nbsp;</div>
<div>3&nbsp;</div>
<div>4&nbsp;</div>
<div>5&nbsp;</div>
<div>6&nbsp;</div>
<div>7&nbsp;</div>
<div>8&nbsp;</div>
<div>9&nbsp;</div>
<div>10</div>
<div>11</div>
<div>12</div>
<div>13</div>
<div>14</div>
<div>15</div>
<div>16</div>
<div>17</div>
<div>18</div>
<div>19</div>
<div>20</div>
<div>21</div>
<div>22</div>
<div>23</div>
<div>24</div>
<div>25</div>
<div>26</div>
<div>27</div>
<div>28</div>
<div>29</div>
<div>30</div>
<div>31</div>
<div>32</div>
</div>
</body>
</html>