简体   繁体   English

当位置设置为相对时,网页上的表格重叠

[英]Overlapping tables on web page when position set to relative

I have a web page with multiple tables, and I'm having an issue where tables are overlapping when you zoom in or out, and are sort of floating all over the place. 我有一个包含多个表格的网页,并且遇到一个问题,当您放大或缩小时表格会重叠,并且会在整个地方浮动。

My CSS setting is set to position: relative , but changing them to absolute is also causing overlaps when zooming in. 我的CSS设置设置为position: relative ,但是将它们更改为absolute也会在放大时导致重叠。

仅当绝对定位的元素具有相对位置的父元素时,位置才能正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM