tic tic - 1 year ago 102
CSS Question

Alternative to visibility:collapse not working on IE and Chrome

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;
<TABLE border="1">
<TR class="cccc">

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?

Answer Source

display: none

instead of visibility: collapse

It works for me to hide the dojo tree grid summary row in IE6 & Google Chrome

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download