I have div with overflow:hidden and some text in it, last line is visible halfway. What should I do to hide this last line from div? Or even add some ellipsis.
Is is possible to do this with css only? (I don't want to change font size, or change display:hidden)
For example: (http://jsfiddle.net/xp32ekqc/)
html:
<div>
Hello World, Hello World, Hello Booom
</div>
style:
div {
height:100px;
width:50px;
overflow:hidden;
border:1px solid black;
}
I'd like to see all text without "Boom" or instead of Hello Boom - Hel...