I have a fixed width td
. 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.
For this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-wrap, I want the cell to only have the word, "This paragraph contains a ".
I have a feeling it's some combination of word-break and white-space : no-wrap but I can't get it to work.