Take into account the cell-spacing of the table (via  CSS property) and update samples