0
我想调整表行的高度为24px。我已经尝试将行高放入顶层CSS中,并将其写入内联。无法调整自举表行高
CSS:
tbody tr {
line-height: 24px;
height: 24px;
padding: 0;
}
tbody td {
line-height: 24px;
height: 24px;
padding: 0;
}
HTML:
<thead id='dontMove'>
<tr id='theRow'>
<th>Rank</th><th>Applicants</th><th># Enrolled</th>
</tr>
</thead>
<tbody style='font-size: 12px;'>
<tr style='height: 24px;'><td style='height: 20px;'>Contents</td></tr>
//then I close the table after it's contents
w继承人div? – user176105