table中如何实现自动换行?
我在dream里用,怎么实现table表里,自动换行!
当表中字符的宽度超过200时,自动执行换行!
<body>
<table width= "200 " border= "1 ">
<tr>
<td> ggggggggggggggggggggggggggggggggggg </td>
</body>
------解决方案--------------------style= "overflow:hidden "
------解决方案--------------------table表的行是默认自动换行的亚
------解决方案-------------------- <p warp style= "WORD-BREAK: break-all; WORD-WRAP: break-word ">
------解决方案--------------------word-break: break-all;
------解决方案-------------------- <body>
<table width= "200 " border= "1 " style= "WORD-BREAK: break-all; ">
<tr>
<td> ggggggggggggggggggggggggggggggggggg </td>
</body>
这样就可以
------解决方案--------------------如果我没有记错的话,只要定义好table的宽度,它就已经是自动换行的了。。。