Does anyone know of a way of neatly truncate a line of text at a given
physical point, i.e. a width specified in pixels. By neatly I mean not
by simply using the overflow CSS property but to truncate the text on
a word boundary and maybe add a '...' or 'cont.'
Many thanks,
Geoff
physical point, i.e. a width specified in pixels. By neatly I mean not
by simply using the overflow CSS property but to truncate the text on
a word boundary and maybe add a '...' or 'cont.'
Many thanks,
Geoff
Comment