title: How to use "word-wrap:break-word" for a div without specifying width
body: <p>I have to wrap the text in a div which has the width property set to auto.</p>
  
  <p>I have to take the input from users and have to display it. Sometimes users are inputting data without spaces. Normal strings are wrapping fine so far without any styles. But long strings without spaces are overflowing from the container.
  Here I want to use the "word-wrap:break-word;" to wrap the text. But it is working when specifying the specific width to the div. But when I specify width my layout is corrupting across the browsers.</p>
  
  <p>Is there any solution to use word-wrap without specifying width property (It should work in all the browsers) ? </p>