I\'ve been using word-wrap: break-word to wrap text in divs and spans. However, it doesn\'t seem to work in table cells. I have a tabl
word-wrap: break-word
div
span
style="table-layout:fixed; width:98%; word-wrap:break-word"
Demo - http://jsfiddle.net/Ne4BR/749/ This worked great for me. I had long links that would cause the table to exceed 100% on web browsers. Tested on IE, Chrome, Android and Safari. 0 讨论(0) 查看其它25个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Demo - http://jsfiddle.net/Ne4BR/749/
This worked great for me. I had long links that would cause the table to exceed 100% on web browsers. Tested on IE, Chrome, Android and Safari.