alternative to visibility:collapse not working on IE and Chrome
Posted
by tic
on Stack Overflow
See other posts from Stack Overflow
or by tic
Published on 2010-03-21T13:18:42Z
Indexed on
2010/03/21
13:21 UTC
Read the original article
Hit count: 716
The following page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<STYLE type="text/css">
tr.cccc {
visibility: collapse;
}
</STYLE>
<BODY>
<TABLE border="1">
<TR class="cccc">
<TD>one</TD>
</TR>
</TABLE>
</BODY>
</HTML>
works only in Firefox. IE always displays the row, and Chrome hides the row but showing its vertical space. So, how can I hide completely a row using only CSS? Thanks.
© Stack Overflow or respective owner