我无法使用自动换行功能来处理此示例...
<html>
<head></head>
<body>
<table style="table-layout:fixed;">
<tr>
<td style="word-wrap: break-word; width:100px;">ThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrapThisStringWillNotWrap</td>
</tr>
</table>
</body></html>
我记得曾经读过必须指定一个布局(我这样做了),但是除此之外,我不确定要使它生效必须做什么。我真的很想在Firefox中工作。谢谢。
编辑:在Chrome 19和Firefox 12中失败,它可以在IE8中使用。我尝试了doctype严格和过渡性的方法,但都没有用。