[quote]
I have verified that the problem is that the table is created with w:0px and h:0px when its parent has display:none.
A way around this is to use visibility:hidden and toggle to visibility:visible instead of starting with display:none.
[/quote]
I have verified that the problem is that the table is created with w:0px and h:0px when its parent has display:none.
A way around this is to use visibility:hidden and toggle to visibility:visible instead of starting with display:none.
[/quote]
本文介绍了一种解决网页中表格初始创建时尺寸为0的问题的方法。通过使用visibility:hidden代替display:none,并在需要时切换为visibility:visible,可以避免表格尺寸被设置为0的情况。
1796

被折叠的 条评论
为什么被折叠?



