I have HTML like :
<div class="box">
<a href="#">Stackoverflow is very useful site and I love it</a>
</div>
and CSS like :
.box {
width:230px;
height:50px;
line-height:50px;
background:#eee;
}
.box a {
color:#000;
}
I want create shorten text of link. If it itself overflow the box
class, then take it by "...". How can I do that with css or jquery?
Check jsfiddle here