Setting max-height for table cell contents

前端 未结 7 1300
庸人自扰
庸人自扰 2020-12-03 02:06

I have a table which should always occupy a certain percentage of the height of the screen. Most of the rows are of fixed height, but I have one row that should stretch to f

相关标签:
7条回答
  • 2020-12-03 03:12

    Another way around it that may/may not suit but surely the simplest:

    td {
        display: table-caption;
    }
    
    0 讨论(0)
提交回复
热议问题