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?
精彩评论