title: how to cut off the text when it exceed the width of a div
body: <p>I have a div which is 300px width, when I fill text in it, only when the user type a normal text like, "Hello, would,my name is kesong", and if the sentence is too long, it would automatically start in the next line, because the div can detect whether the last word can be hold in the same line or not.However, if the user enter something like a every long text without any space between them, like "HELLOWOLRDTHISISKESONGHELLOWOLRDTHISISKESONG..." which exceeds the width of the div, the text would not be cut off and would be displayed beyond the div at the same line.</p>