1 回答

TA貢獻1982條經驗 獲得超2個贊
似乎設置適當的邊距就.progress足夠了,如下所示:
.progress {
margin: 10px 0 !important;
}
或這個
.progress {
margin: auto 0 !important;
}
.progress {
margin: 10px 0 !important;
}
th {
border: 1px solid green;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<table>
<tr>
<th width="300px">
Atv opgenomen / totaal: 22:48 h / 62.0 h
</th>
<th width="300px">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">50%</div>
</div>
</th>
</tr>
</table>
- 1 回答
- 0 關注
- 121 瀏覽
添加回答
舉報