当换行时,在div中断长字; break-word;失败 [英] Break long word in a div when word-wrap:break-word; fails
本文介绍了当换行时,在div中断长字; break-word;失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要第三列中的字词打破为什么不行?
I want the word in the third column to break why won't it?
http://jsfiddle.net/madprops/6S7Rn/1/
推荐答案
这是你的后吗? http://jsfiddle.net/kuN4T/
我使用一小段jQuery-powered JavaScript来处理正确的列:
I used a tiny snippet of jQuery-powered JavaScript to handle the right column:
var $e = $('#rightBlockReal'),
$o = $('#rightblockfake');
$(window).resize(function() {
$e.width($o.width());
}).resize();
这篇关于当换行时,在div中断长字; break-word;失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文