You are here: Re: To make rows invisible « HTML « IT news, forums, messages
Re: To make rows invisible

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация