I changed the display to table-row and that worked.
The problem was that the style I switched to had the value inherit. . This did not work in FF and Safari but did in IE

Thanx

On Jan 16, 2007, at 5:13 AM, Matthew Cruickshank wrote:

Philippe Wittenbergh wrote:

You need to switch between display:none and display:table-row (the default display value for <tr>).


This is right.

The best way of using this that I've found (because IE doesn't understand "table-row" as a display value but we don't want to resort to browser detection) is to alternate between element.style.display="none" and element.style.display="".

The empty string causes a default setting in the browser, which reveals the row.

I don't know whether this behaviour (set as empty string to cause default) is a standard though it appears to work in all browsers.


.Matthew Cruickshank
http://docvert.org/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to