How to prevent text from overflowing in CSS?
How can I prevent text in a div block from overflowing in CSS? div { width: 150px; /* what to put here? */ } <div>This div contains a VeryLongWordWhichDoesNotFitToTheBorder.</div>