title: How to keep a text inside a div when resizing the browser window
body: <p>So I have a simple div in which I have a p with some text. I want the text to stay inside the div, and that is going good so far, but when I resize the window of my browser horizontal, the text inside the div is flowing out of the div on the bottom.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#textbox {
    position: absolute;
    left: 180px;
    top: 420px;
    height: 250px;
    width: 20%;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  }
  
  #text {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 20px;
    word-wrap: break-word;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="textbox"&gt;
    &lt;p id="text"&gt;Here is some example text that is about the same amount as I really have here, but I don't want to reveal what.&lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>According to the answers on similar questions, I have to add <code>word-wrap: break-word;</code> which I already have.
  If this helps, the text is not flowing out at left or right, it flows out at the bottom. </p>
  
  <p>So my question, what do I do, to keep the text inside the div when I'm moving the browser window? </p>