开发者

Jquery add ellipse (...) and truncate text based on height not width

I have found many ways to measure width and to truncate text using开发者_Python百科 jquery, but I can't find one based on height.

I am limited to two lines of text or it will knock my design out of canter.

So does anyone know a method of limiting a paragraph to two lines high, tuncating it and adding an elipse ?


CSS overflow with a <div>...</div> positioned at the bottom?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜