.ec td:first-of-type, .ec td:nth-of-type(3) {text-align:center;} .ec td:nth-of-type(4), .ec td:nth-of-type(2) {text-align:right;}