I need to have a box (div) with some text over multiple lines, and this box needs to have a fixed width and a fixed max height.
I'm using the
Now my problem is that if the last line doesn't fit in the div max height it will get cut (cutting just half of the line for example). What I want to do in this case is not to show the last line, and display ellipsis in the last one
My problem is not inserting ellipsis in a single text line (using the
property), the main problem is that the text gets cutted in the last line, ellipsis is not an issue because in last case I can use jQuery to insert it