「已注销」 2017-04-15 14:03 采纳率: 0%
浏览 27789

使用Bootstrap 的table样式,行高太大,怎么修改

使用bootstrap的table样式,然后动态添加列,数据库里面只有两条数据,结果却是行高太宽了,请问怎么修改呢?

table表格

 <table class="table table-bordered">
                    <c:forEach items="${articles}" var="art">
                    <tr><td>${art.title}</td></tr>
                    </c:forEach>
</table>
  • 写回答

1条回答 默认 最新

  • iioioioioioio 2017-04-15 15:01
    关注

    .table.table-bordered > tr >td {
    height: 120px;
    max-height: 120px;
    }

    评论

报告相同问题?