Previous Message
Next Message

table row show/hide problem - mozilla 1.6

Sent by Steve Clay on 27 May 2004 19:07


Thursday, May 27, 2004, 3:30:27 AM, Chris Heilmann wrote:
>>You are setting it to display: block. It should be display: table-row.

A simpler solution doesn't require you to know or care what a browser uses
as default:

in your CSS: .hiddenRow { display:none; }

To hide a row, set TR.className = "hiddenRow".
To show row, set TR.className = "";

Basically passive style-switching instead of brute element.style prodding.

Steve
-- 
http://mrclay.org/ * http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: