Add left and right borders to cells