<table>  
   <tr width="100%">  
       <td style="word-wrap:break-word;width:400">ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp<td>  
   </tr>  
</table>  

解决方案 »

  1.   

    但是有时候有人粘贴网文过来的时候说不定有
    "--------------------------------------------------------------------------"
    这种情况的,所以还是用<td style='word-break:break-all'>这样的方法比较好
      

  2.   


    这个问题我也遇到过,用<table width=760  border=1 align="center" cellpadding="0" cellspacing=1  style="word-break:break-all">就可以了,关键在style="word-break:break-all"这句。
      

  3.   

    而且,用break-all有的时候把一个单词都给截断了,看起来不大好吧