【发布时间】:2019-10-10 08:37:56
【问题描述】:
我在同一页面中有 2 个制表符表(#tableC id="Cuentas" 和 #tableM id="Movimientos"),每个表都应该有不同的行高。
我已经在 CCS 文件中尝试过
tableC.tabulator-row.tabulator-cell { height:40px;}
tableM.tabulator-row.tabulator-cell { height:100px;}
和
#Cuentas.tabulator-row.tabulator-cell { height:40px;}
#Movimientos.tabulator-row.tabulator-cell { height:100px;}
和
tableC.tabulator-row.element.style { height:40px;}
tableM.tabulator-row.element-style { height:100px;}
还有更多的组合, 它们都不起作用
如果我写
.tabulator-row.tabulator-cell { height:40px;}
如果固定页面中所有表格的行高
如何为不同的表格设置不同的行高
【问题讨论】:
-
可以包含 HTML 吗?
-
#Cuantas后面有空格吗?在上面的代码中,CSS 选择器似乎选择了具有#Cuantas和.tabulator-row的元素
标签: javascript css tabulator