Today, when I was in a 52-field report, I was forced to do a thorough research,
I found:
The default value for display at Col under FF is: Table-column
The default value for visibility is: visible
I checked the CSS manual, found that visibility has a collapse optional value, it is said that in IE is not implemented, IE did not achieve Chou FF did not implement, like FF does not support the same as IE does not support.
BT I tried it one by one,
Finally found it!
FF can use the following method, with Col the table to hide the column!
Cheer!
Copy Code code as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Untitled Document </title>
<body>
<table width= "100%" border= "0" >
<colgroup>
<col style= "visibility:collapse;overflow:hidden;width:0px;"/>
<col style= "visibility:collapse;overflow:hidden;width:0px;"/>
<col style= "Display:none"/>
<col style= "Display:none"/>
</colgroup>
<tr>
<TD scope= "Col" >ie, you can see this column <td scope= "col" >ie, you can see this column
<TD scope= "Col" >ff, you can see this column <td scope= "col" >ff, you can see this column </tr>
<tr>
<TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>