How to overlay a div (or any element) over a table row (tr)?

后端 未结 6 1106
轮回少年
轮回少年 2021-01-30 12:58

I\'d like to overlay a div (or any element that\'ll work) over a table row (tr tag) that happens to have more than one column.

I have tried a few methods, which don\'t s

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 13:27

    Make:

    div style="position:absolute"
    
    td style="position:relative;display:block"
    

    and you don't need jquery.

提交回复
热议问题