.board { position: relative; float: left; color: white; font-weight: bold; } .board .row { position: relative; float: left; } .board .square { position: relative; float: left; } .board .square .dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('gifs/dark.gif'); z-index: 1; } .board .square .light { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('gifs/light.gif'); z-index: 1; } .board .square .playable { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } .board .square .playable .piece img { top: 0; left: 0; width: 100%; height: 100%; z-index: 2; } .board .square .playable .num { position: absolute; bottom: 0; right: 0; z-index: 3; } .game { } .game .menu { } .game .toolbar { float: none; } .game .title { text-align: center; } .game .bank { height: 100%; background-image: url('gifs/dark.gif'); vertical-align: middle; border: 2px solid black; } .game .moves { position: absolute; top: 0; width: 140px; height: 50%; } .game .comments { position: absolute; bottom: 0; width: 140px; height: 50%; } .game .pdn { position: absolute; left: 0; border: 1px black solid; } .game .controls { position: absolute; left: 0; text-align: center; border: 1px black solid; } .icon { position: relative; float: left; width: 16px; height: 16px; }