Topic awaiting preservation: Dynamically hiding text too long for a table column? (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
posted 03-04-2005 17:04
Hello, |
Paranoid (IV) Inmate From: schillmania.com |
posted 03-04-2005 17:33
I would suspect they're doing some parsing of the TD widths, assuming they're fixed-width (or calculating this on window.resize, though TDs I thought by default are fluid.. anyways..) |
Paranoid (IV) Inmate From: France |
posted 03-04-2005 17:43
They use an IE only feature : the text-overflow:ellipsis;. |
Obsessive-Compulsive (I) Inmate From: |
posted 03-04-2005 19:43
You guys rock. I got it working now Thanks! |
Maniac (V) Mad Scientist From: New California |
posted 03-05-2005 14:22
... and sometimes they even roll |
Paranoid (IV) Inmate From: France |
posted 03-05-2005 14:29 |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 03-08-2005 17:36
I would imagine that the plain JS method would never work properly as most fonts dont have a fixed width and the user can make the text larger or smaller. |
Paranoid (IV) Inmate From: France |
posted 03-08-2005 17:51
We're not playing dices when determining the width of an HTML element containing a string. |