Setting max-height for table cell contents

前端 未结 7 1321
庸人自扰
庸人自扰 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 02:52

    Just put the labels in a div inside the TD and put the height and overflow.. like below.

    Sample
    Text
    Here

提交回复
热议问题