我已經成功地爲香草bootstrap,selectize等創建了css文件。 但是現在我正在嘗試修改Bootstrap-select的默認css。具體來說,我想更改bootstrap-選擇元素寬度和刪除邊框
- 的因素去掉,
- 更改元素的寬度的邊框,使其適合與給定的寬度
至於現在,第二列的列由於某種原因與第一列重疊。如果您刪除th.zeon-fixed-narrow-column {width: 1.5em;}
,此錯誤消失。 這個想法是,我不想刪除它,我想要第一列一樣窄到1.5em!
這裏是我的jsFiddle
table {
table-layout: fixed;
}
th.zeon-fixed-narrow-column {
\t width: 1.5em;
}
.zeon-selectpicker{
border:none !important;
width: 1.5em;
}
.zeon-selectpicker:focus{
background-color:red;
}
table {
table-layout: fixed;
}
th.zeon-fixed-narrow-column {
\t width: 1.5em;
}
.zeon-selectpicker{
border:none !important;
width: 1.5em;
}
.zeon-selectpicker:focus{
background-color:red;
}
由於文本對齊:左爲th。更改爲正確,它不會重疊。 –
沒有得到你的觀點 –
你是說輸入框重疊的文字,對不對? –