减少数据表tr高度 [英] Reduce dataTable tr height
本文介绍了减少数据表tr高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用dataTable jquery插件。
我需要减少行的高度,我该怎么办呢? (我需要固定高度)
I am using dataTable jquery plugin.
I need to reduce the height of the rows, how can I do it? (I need a fixed height)
我试过:
.dataTables tbody tr {
min-height: 35px; /* or whatever height you need to make them all consistent */
}
推荐答案
tr
没有高度。
您必须将 height
套用至 td
这篇关于减少数据表tr高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文