Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
}
.bluediv {
  width:200px;
  background-color:lightblue;
  word-break: break-word;
}
</style>
</head>
<body>
<h1>The word-break property</h1>
<div id="myDIV">
  <div class="bluediv">
    This is a prettyveryveryveryveryverylong word.<br><br>Here-we-have-plenty-of-hyphens.
  </div>
</div>
</body>
</html>