I\'m trying to create a word-wrap in JavaScript using CSS, and the condition is:
If DIV contains one very long word, such as \"asdasfljashglajksgkjasghk
when you'll be allowed to use jQuery you could see the dotdotdot plugin at this link.. very simple to use and it works great!
For the moment i can suggest you to have a look at this fiddle! whould work the text-overflow: ellipsis
text-overflow: ellipsis