使一个列具有padding-right和padding-left 0 with bootstrap

时间:2017-06-20 12:54:48

标签: twitter-bootstrap-3

目标:
使一个特定的列具有padding-right和padding-left,使其具有值0.表中列的其余部分不应受到影响

问题:
我尝试过不同的解决方案,但效果并不好。

有什么想法吗?

谢谢!

Demo:  http://jsbin.com/kinoqobuno/edit?html,output

1 个答案:

答案 0 :(得分:1)

您尝试更改thead> td,但你使用的是thead> TH!请将您的CSS更改为以下内容:

#ddd thead tr th:nth-child(1){
  padding-right: 0 !important;
  padding-left: 0 !important;  
}
相关问题