table first column center code example Example: how to set the first column of the table in center in css tr > td:first-child { text-align: center; }