format and border table