阅读背景:

在DIV中裁剪文本后添加“...”的简洁方法如何?

来源:互联网 

I need to show "stub" description texts beside product images. But I need to cut it in 3 lines high if it's very long (or less, if the description is just a short text). But the problem is the field dimension for the text may vary. And other problem is I have to add "..." on the end of the stub text.I need to show "stub" description texts beside




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: