View Full Version : How to Make Table with Unknown Length String Fit In a Fixed Size Area?

12-18-2005, 12:13 AM
I have a table in a fixed sized area. The table will hold unknown # of strings with unknown length. It doesn't have corresponding row and column headers. So it doesn't matter if the string shift from column 1 to whatever column, or from row 2 to whatever row, as long as it looks like a table.

How do I do it? I am using php.
Many thanks.

12-18-2005, 05:47 PM
It would help to see your HTML/CSS which I why you probably haven't got a response until now.

Giving the string the 'word-wrap: break-word' declaration/property in CSS would force the string to be broken and placed onto a new line (although I have a feeling this is IE only?).