jonathantaub (AT) hotmail (DOT) com (Jonathan Taub) wrote:
Quote:
Sometimes, a table cell (<TD>) displays quite a lot of information.
Is there a property or style indicating that is should display only
part of the information? |
If there is, then it's not an HTML issue but about CSS.
Quote:
As an example, suppose that a table cell contains about 20 rows. |
Huh? Lines of text I presume.
Quote:
I wish to display only three with three dots afterwards meaning there
is more info. |
You can use CSS for truncating the visible text but not for adding the
three dots.
Quote:
Offcouse this can be done using DHTML |
Of course DHTML works sometimes only.
There you have it. Make the server generate the page so that the data
is shortened as appropriate. That way you have chances of programming
the operation so that the truncation is _meaningful_ (at least
truncating between words only, not inside a word, and perhaps
truncating after punctuation characters primarily(.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html