Home  >  Article  >  Web Front-end  >  Detailed explanation of how to use col to hide table columns under FF! _Experience exchange

Detailed explanation of how to use col to hide table columns under FF! _Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:06:071465browse

Today, I was working on a report with 52 fields, which forced me to do some in-depth research.
I found:
The default value of col's display under ff is: table-column
visibility The default value is: visible
I checked the CSS manual again and found that visibility has an optional value of collapse. It is said that it is not implemented in IE. The fact that IE does not implement it is not the same as that FF does not implement it, just like FF does not support it. It's not necessarily the same that IE doesn't support it.
Being a BT person, I tried them one by one,

Finally found it!
You can use the following method under FF to hide the columns of the table with COL!
Cheers!

Copy code The code is as follows:

1999/xhtml">


Untitled document






















td>








Under IE, you can see this column IE, you can see this column
FF, you can see this column FF, you can see this Column






Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn