![]() Topic awaiting preservation: Dynamically hiding text too long for a table column? (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() Hello, |
Paranoid (IV) Inmate From: schillmania.com |
![]() 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 |
![]() They use an IE only feature : the text-overflow:ellipsis;. |
Obsessive-Compulsive (I) Inmate From: |
![]() You guys rock. I got it working now |
Maniac (V) Mad Scientist From: New California |
![]() ... and sometimes they even roll |
Paranoid (IV) Inmate From: France |
![]() |
Paranoid (IV) Inmate From: Dublin, Ireland |
![]() 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 |
![]() We're not playing dices when determining the width of an HTML element containing a string. |