Sent by Chris Heilmann on 27 May 2004 08:08
David Dorward wrote:
>On Thu, 2004-05-27 at 07:01, Max Timchenko wrote:
>
>
>> http://www.maxvt.com/lj/phonebook.html
>>
>> Click on a name, it is supposed to show another row spanning the
>> width of the table. Another click hides.
>>
>> What is Mozilla's (1.6, Windows XP) problem with this? (shows only
>> one cell wide; doesn't hide properly)
>>
>>
>
>You are setting it to display: block. It should be display: table-row.
>
>
>
That seems not to work in IE6. And Mozilla somehow never properly
re-renders the element (borders missing for example). I encountered that
problem before and worked around it by adding a span inside the td and
hid and showed that one. However, IE does render the row as empty
whereas Mozilla makes it two pixels high.
A different approach would be to take all extra lines and push them into
a "basket" table, which is hidden, and cloneNode() them on demand and
insert them into the main one again.
In any case, Mozilla has problems rendering the table when you change
its rows.
______________________________________________________________________
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/