I am creating a web app using ASP.NET MVC, which shows some articles to user.
And there is a summary of every article on a div.
Currently, I’m loading the whole content in summary div and set this style overflow:hidden for that. This is the result:

But that fragmentary line (last line) is ugly, also whole content is downloading to user’s computer, which is bad for speed and performance.
I want to have something like this: (the image below is my goal)

(Remove that fragmentary text at last line, and add ... at the end of text)
Also it is good to avoid downloading whole content to user’s computer.
How to do that?
PS: Anyone know a better title for this question?!
Put your text in another div and use
height+line-heightWorking example:
http://jsfiddle.net/DNh4W/2/
If you want to end with ellipsis there is no solution in CSS3 for multiline text. You must use javascript, for example: http://pvdspek.github.com/jquery.autoellipsis/
Example of jquery autoellipsis: http://jsfiddle.net/bdM89/1/