title: How to obtain a vertical text ellipsis with HTML-CSS tables?
body: <p>I want to display a text in a small space where only two lines can fit. When the text is too long I'm looking for a way to obtain an ellipsis at the end of the second line.</p>
  
  <p><img src="https://i.stack.imgur.com/SdMX6.jpg" alt="enter image description here"></p>
  
  <p>I used a table but it doesn't work, I can't limit the cell height.</p>
  
  <pre><code>&lt;td style="overflow-x: hidden;overflow-y:hidden;text-overflow: ellipsis;max-height:50px"&gt;text&lt;/td&gt;
  </code></pre>