table td:nth-child(odd){background:#CCC}/*定义奇数列的背景色为灰*/ table td:nth-child(4){background:#F00}/*定义第4列背景色为红*/