Can I use a min-height for table, tr or td?

后端 未结 7 974
Happy的楠姐
Happy的楠姐 2020-12-23 00:11

I am trying to show some details of a receive in a table.

I want that table to have a min height to show the products. So if there is only one product, the table wou

7条回答
  •  隐瞒了意图╮
    2020-12-23 01:02

    Simply use the css entry of min-height to one of the cells of your table row. Works on old browsers too.

    .rowNumberColumn {
        background-color: #e6e6e6;
        min-height: 22;
    }
    
    

    提交回复
    热议问题
    1 411978430-Intimate:Ruby:Small