title: Cut off text to the last word if longer than table cell width
body: <p>I have a fixed width <code>td</code>. The text inside should not wrap to the second line. If the text is longer than the cell's width, it should cut off to the last word. If it doesn't have space and cannot break to the last word, it should break with the max width of the cell. </p>
  
  <p>For this example <a href="https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap" rel="nofollow noreferrer">https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap</a>, I want the cell to only have the word, 
  "This paragraph contains a ".</p>
  
  <p>I have a feeling it's some combination of word-break and white-space : no-wrap but I can't get it to work. </p>