|
Posted by Ben C on 04/05/07 22:12
On 2007-04-05, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Scripsit Ben C:
[...]
>> set style="display: none" on the rows instead, and display: table-row
>> to turn them back on again.
>
> You can't put Humpty-Dumpty back again, since display: table-row won't work
> on IE.
>
> Too bad IE doesn't support visibility: collapse either.
>
> Using display: block might work, though it would be illogical and risky,
> when the element should really be a table row.
That would result in this box structure:
table
block
table cells
Now I think the defined behaviour would be for the browser to generate
something like this tree of boxes (see CSS 2.1 17.2.1, not that that
necessarily bears much resemblance to with what IE would actually do):
table
anon table row
anon table cell
block
anon table
anon table row
table cells
This could cause a few unexpected problems-- for example if one or two
of the cells had rowspan >1.
Navigation:
[Reply to this message]
|