Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 html 页面中有一个表格,其中有一些列。我想将它的高度和宽度设为“0px”,当鼠标在特定图像上时,高度和宽度应更改为 100px。问题是表格不接受 0px 的大小。请提出有用的措施
如果您只想隐藏表格,可以使用以下 css 属性:
display: none;
并展示它:
display: table;