Please have a look at this fiddle - http://jsfiddle.net/Z27hC/
var container = document.createElement(\'span\'); container.style.display = \'inline-block\'; cont
Try setting line-height: 0 for the container and line-height: 20pxfor your cells
line-height: 0
line-height: 20px
container.style.lineHeight = '0px'; cell.style.lineHeight = '20px';
Fiddle
Or you can use float: left on your cells
float: left
cell.style.float = 'left';
Fiddle2