【发布时间】:2014-11-15 02:19:46
【问题描述】:
我正在尝试使表格的边框看起来像所附图片,但它没有实现边框颜色或任何东西。这可能与 Bootstrap 'table' 类有关。
这是我的代码:
HTML:
<table class="table">
<tbody>
<tr>
<td>
<span class="glyphicon glyphicon-calendar" id="left-info" > 17 SEPTEMBER</span>
</td>
</tr>
</tbody>
</table>
css:
table{
padding: 10px !important;
background-color: #575757 !important;
}
tr{
background-color: #575757;
border-top: 10px!important;
border-top-color: #383D3D !important;
}
td{
border-left: 3px !important;
border-left-color: #383D3D !important;
}
【问题讨论】:
标签: html css twitter-bootstrap html-table