I have long lines of text stored in a DB without line breaks. Now I
need to present it in
fixed width with word wrap. I tried everything css (word-wrap:
break-word;), the rails actionview helper (word_wrap), specifying
width of the div etc. But nothing works. The reason I’m
asking the question here because to me word_wrap was created to solve
this exact problem
but it is failing to do so. Correct me if i’m wrong.