2017-06-20 97 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; 
} 
相關問題