How can i hide certain table column in a HTML table using CSS

前端 未结 7 1648
长发绾君心
长发绾君心 2021-01-26 18:05

I have a html table which is as follows

col1 c
7条回答
  •  一整个雨季
    2021-01-26 18:50

    td:nth-child(n+4) {
        visibility: hidden
    }
    

    http://jsfiddle.net/hZRvx/

    I think that that is the most clearest way to do it.

提交回复
热议问题