Hi all,

I'm having trouble with a display.style reference displaying correctly in Firefox (Mac, not sure about PC yet). The page calls a javascript function upon loading that is supposed to hide one of two tables on the page. Whilst it does hide the table as asked - there is an empty space where the table would have been.

My understanding is that if display.style = 'none'; then the surrounding page content should contract to fill the space of the hidden element. Is this correct?

My javascript function for the hidden effect is:

document.getElementById('table_id').display.style = 'none';
Has anyone come across this problem in Firefox before? It seems to work fine in Safari.

Thanks in advance