How to prevent text from going outside of an element?

css, html

Solution

There is a new CSS3 property which does what you need.

word-wrap: break-word;

Problem

this is my css ``` .newsContent { position: relative; background-color: red; min-height: 200px; width: 300px;} ``` How can I not bypass the border of div?

Original source