如何隐藏 HTML 表格中的列? [英] How to hide columns in HTML table?
本文介绍了如何隐藏 HTML 表格中的列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 ASPX 中创建了一个表.我想根据要求隐藏其中一列,但在 HTML 表格构建中没有像 visible
这样的属性.我该如何解决我的问题?
I have created a table in ASPX. I want to hide one of the columns based on the requirement but there is no attribute like visible
in the HTML table building. How can I solve my problem?
推荐答案
为此您需要使用样式表.
You need to use Style Sheet for this purpose.
<td style="display:none;">
这篇关于如何隐藏 HTML 表格中的列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文