How to put a "-" when the text is too small for a div box and should have a break line option.
Example:http://jsfiddle.net/2rqv6/
div id="box"> TExttexttexttext </div>
#box { border:1px solid #000;
width:50px;
height:auto;
word-wrap: break-word;
}
I want the the text go on another line to put "-".