How to create a table cell that scrolls when overflowing

后端 未结 1 1329
走了就别回头了
走了就别回头了 2020-12-11 16:44

I must create a table cell with a fixed height and width, but with a lot of content; something using overflow: auto. The problem is that I can\'t use disp

相关标签:
1条回答
  • 2020-12-11 17:12

    You can nest a block-level div with the overflow:scroll property set inside the table cell. ie

    <td><div style="overflow:scroll;">Content</div></td>
    
    0 讨论(0)
提交回复
热议问题