开发者

Break long word in a div when word-wrap:break-word; fails

开发者 https://www.devze.com 2023-03-20 10:32 出处:网络
I want the word in the third colu开发者_StackOverflowmn to break why won\'t it? http://jsfiddle.net/madprops/6S7Rn/1/Is this what you\'re after? http://jsfiddle.net/kuN4T/

I want the word in the third colu开发者_StackOverflowmn to break why won't it?

http://jsfiddle.net/madprops/6S7Rn/1/


Is this what you're after? http://jsfiddle.net/kuN4T/

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();
0

精彩评论

暂无评论...
验证码 换一张
取 消