2017-06-20 75 views
0

目标:
制作具有填充右侧和填充左侧的值为0的特定列。表中列的其余部分不应该受到影响使列具有填充右侧和填充左侧0以及引导

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

有什么想法?

谢谢!

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

回答

1

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

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