[thelist] dynamically hiding table rows?

kasimir-k kasimir.k.lists at gmail.com
Fri Jun 1 04:24:12 CDT 2007

Kristian Rink scribeva in 01/06/2007 9:06:
> we're currently building, I'm about to try to dynamically hide table
> rows using JavaScript and switching "style.display" between "block" and
> "none". 

How about using style.visibility = 'collapse'
from: <http://www.w3.org/TR/CSS21/tables.html#dynamic-effects>
"This allows dynamic effects to remove table rows or columns..."

See also <http://www.w3.org/TR/CSS21/visufx.html#visibility>

BTW, correct style.display for table row is not 'block' but 'table-row' 


More information about the thelist mailing list