Sent by Peter-Paul Koch on 27 May 2004 11:11
> > You are setting it to display: block. It should be display: table-row.
>
>The problem is that Mozilla (correctly) requires display: table-row to get
>an element to act as a table row, but Internet Explorer doesn't understand
>it and will only render an element as a table row if it's a TR with
>display:
>block (or maybe anything it recognises apart from display: none, but
>display: table-row doesn't work).
>
>If there are any visible rows to start with on your page, you can get round
>this problem by finding out what display value the browser uses for visible
>table rows, and using that in future.
Better still, you can empty the inline display declaration so that it
defaults back to whatever the default was:
TR.style.display = 'none' // hide TR
TR.style.display = ''; // restore default; TR is now shown whether the
browser requires 'block' or 'table-row'
-------------------------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.quirksmode.org/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
------------------------------------------------------------------
_________________________________________________________________
Play online games with your friends with MSN Messenger
http://messenger.msn.nl/
______________________________________________________________________
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/