如何在以动态方式填充表时防止HTML对象“向下”移动

时间:2022-01-11 20:24:33

I am populating a table at the very top of my HTML page dynamically. However, whenever this table is populated the HTML objects and data located "below" this table are moved down on the page as rows are populated into the table. Is there any way to prevent this from happening?

我动态地在HTML页面的顶部填充表格。但是,无论何时填充此表,当表中填充行时,位于此表“下方”的HTML对象和数据都会向下移动到页面上。有什么方法可以防止这种情况发生吗?

1 个解决方案

#1


1  

you can either remove the bottom rows of the table or give the table an absolute position. i'm not sure why you would want that thought.

你可以删除表格的底行或给表格绝对位置。我不确定你为什么会这么想。

#1


1  

you can either remove the bottom rows of the table or give the table an absolute position. i'm not sure why you would want that thought.

你可以删除表格的底行或给表格绝对位置。我不确定你为什么会这么想。