Better attribute assignment for table cells.