Word spacing
Posted: Sun Sep 26, 2004 2:27 pm
How can make text in a cell that has no spacing to be automatically "wrapped"?
I`m writing a shoutbox script for my site that will appear on a box like 140 or 150 px long. The problem is, when a user writes a word that has length more than the cell can fit (like "this_is_a_long_word_and_it_does_not_fit_in_the_cell" or "aaaaaaaaaaaaaaaaaaaaaaaa") the cell gets stretched messing all the other cells and tables. So, how can make that cell wrap text so text like this:
this_is_a_long_word_and_it_does_not_fit_in_the_cell
appears like this:
this_is_a_long_word_and
_it_does_not_fit_in_the_cell
Thanks
I`m writing a shoutbox script for my site that will appear on a box like 140 or 150 px long. The problem is, when a user writes a word that has length more than the cell can fit (like "this_is_a_long_word_and_it_does_not_fit_in_the_cell" or "aaaaaaaaaaaaaaaaaaaaaaaa") the cell gets stretched messing all the other cells and tables. So, how can make that cell wrap text so text like this:
this_is_a_long_word_and_it_does_not_fit_in_the_cell
appears like this:
this_is_a_long_word_and
_it_does_not_fit_in_the_cell
Thanks