td text-align: center; and border
<html> <head><title>Tables</title> <style type="text/css"> table { border-width: medium; border-color: navy; border-style: groove; } td { text-align: center; background-color: gold; } </style> </head> <body> <center> <table> <tr> <td>CSS</td><td>IS</td> </tr> <tr> <td>VERY</td><td>COOL!</td> </tr> </table> </center> </body> </html>