FF under the col to hide the table column method of detailed! _ Experience Exchange

Source: Internet
Author: User
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>
&LT;TD scope= "Col" >ie, you can see this column <td scope= "col" >ie, you can see this column
&LT;TD scope= "Col" >ff, you can see this column <td scope= "col" >ff, you can see this column </tr>
<tr>
&LT;TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
&LT;TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
&LT;TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
&LT;TD scope= "Row" > </th>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.