How to hide columns in HTML table?

后端 未结 9 1149
执念已碎
执念已碎 2020-11-27 14:07

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. Ho

9条回答
  •  臣服心动
    2020-11-27 14:43

    you can also use:

    
    or
    
    

    The difference between them that "hidden" hides the cell but it holds the space but with "collapse" the space is not held like display:none. This is significant when hidding a whole column or row.

提交回复
热议问题