[thelist] 1-line cells in tables
Michael Galvin
mpgalvin at eircom.net
Fri May 12 17:27:53 2000
Hi all
I'm creating a table from a database, which will act as a report on the data
in the database. I know how long each field in the table is, but I don't
know what resolution the user will have. So I'm using <table width="100%">
and various percentages for each row to make sure it fills the entire width.
However, if the user has a smaller resolution than my own, I don't want the
table to start word-wrapping lines - I want it to truncate them, so rather
than
-------------------------------------------------
1 | This is a long description of | 12/3/00
| the project |
-------------------------------------------------
I want
-------------------------------------------------
1 | This is a long description of | 12/3/00
-------------------------------------------------
Of course, I will only need to do this if the resolution is so small as to
warrent it. Any ideas?
TIA
Michael Galvin
You have been reading a mail by the creator of
http://homepage.eircom.net/~mpgalvin/humour.html
Suck it and see.