How can text like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa which exceeds the width of a div (say 200px) be wrapped?
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
div
200px
I am open to any kind of solution such as CSS, jQuery, etc.
Try this:
div { width: 200px; word-wrap: break-word; }
2.1m questions
2.1m answers
60 comments
57.0k users