I have an html table, and one column (or <td> ) contains very long words. I want to set the maximum width of the column, so if the text is longer than the maximum width, the text should automatically wrap to the next line. I tried to set the css style max-width in the corresponding <td> element with "max-width:100px" , but it does not work. The text is still very long and does not automatically end on the next line.
Any ideas what is wrong or any solution reference code? I am using IE 8 on Windows 7.
html css
George2 Apr 17 '10 at 15:29 2010-04-17 15:29
source share