how to center in TD element code example Example: css center in td td { text-align: center; vertical-align: middle; }