layouting of the table cells (without headers)