Using CSS how to change only the 2nd column of a table

后端 未结 5 1298
悲&欢浪女
悲&欢浪女 2021-01-30 00:20

Using css only, how can I override the css of only the 2nd column of a table.

I can get to all of the columns using:

.countTable table table td
<         


        
5条回答
  •  一个人的身影
    2021-01-30 01:16

    You could designate a class for each cell in the second column.

    Column 1Col 2
    Column 1Col 2
    Column 1Col 2
    Column 1Col 2

提交回复
热议问题