|
Posted by Jukka K. Korpela on 04/05/07 19:56
Scripsit Ben C:
> This is only the 21st century.
I keep forgetting that.
> You can't just tell computers what you
> want them to do in plain English yet, but must carefully choose only
> the specified command-words in the manual.
That's very nasty of them computers. We should rebel against them.
They even force us to post URLs if we want to get help from fellow humans.
> 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.
The main question here is whether it makes sense to hide rows in CSS when
the page is apparently dynamically generated anyway. So why can't the OP
just make the code omit the <tr> elements altogether (from the HTML
document) that contain no data?
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|