in reply to breaking words in a table.

No solution is going to be perfect. Text size can vary significantly across browsers and operating systems, so cropping your text based on number of characters is unreliable at best. At least this way it ends up looking good for the majority of viewers.

Replies are listed 'Best First'.
Re^2: breaking words in a table.
by ww (Archbishop) on Feb 28, 2005 at 16:49 UTC
    ...and even if you have an audience using a single browser, you can't count on them all running same res, etc, so the observations from TedPride et al (above) --IMO-- are wise.

    However, jdb, you wrote "the text www takes more space than aaa or iii."

    But, pedantically and just FWIW, you could use css to have mail addresses rendered in a "Fixed width font" (think console fonts; tty; typewriter). In that case, the width needed for "www" would not differ from that required for "iii."

    - - -
    Update
    ( apology/reply to jdb's, immediately below): Yep, agree. To some extent, my comment was OT or redundant, anyway, but someday, some SoPW may find this thread and miss the exception to the general case you asserted.

      True, but i have to stick to 'customers' standards, using arial, helvetica, whatever homemade font etc.
      Second, for html it fixes the problem, but it still is there for pdf-creation. where i use the templating system to create the latex file.