firefox position absolute inside a relative container issue

前端 未结 5 1149
失恋的感觉
失恋的感觉 2020-12-08 05:23

i am using table for displaying my dynamically generated data depend upon the user input the html structure is looks like below:

5条回答
  •  执念已碎
    2020-12-08 05:33

    I solved the problem adding display: block;

    .table td div {
      position:absolute;
      display:block;
    }
    

    in your case:

..... .....
..... .....

提交回复
热议问题