Rob Desbois schrieb:
Hi,
I have a table where some of the rows have a single cell spanning the
whole table, containing a sub-table with different data.
These rows need to be hidden on page load which is easy enough with
"display:none", but doing a .show() on them after that breaks the
layout in Firefox 2.0: it seems to ignore the colspan attribute, as
the whole sub-table appears crammed into the first cell.
Works in IE as expected. Also works in Fx if I remove the CSS and do a
$.hide() on the rows after page load instead.
I'm assuming this is a Firefox rendering bug, so apologies for the
slightly OT - can anyone yield any further info on it?
Thanks,
--rob
--
Rob Desbois
Eml: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Hi Rob,
mabe you should try to set the style property display to table:
$('table#mytable').css( {display : "table"} );
-- Marc