title: How to restrict the contents in a table data(<td>) of a table to a certain limit?
body: <p>I have a table datas which may vary time to time. It is to populate the user comments. The comments will be stored in the database and showing in the html table for reference. The user comments may exeed too much sometime, in such times the height and width of my html table also increases to show all the data. but i want to give the fixed height and width for the  tags in the table and show only half of the user comments which will be taken from the database..</p>
  
  <p>For example</p>
  
  <pre><code>&lt;table&gt;
  &lt;th&gt;id&lt;/th&gt;
  &lt;th&gt;Comments&lt;/th&gt;
  &lt;th&gt;User details&lt;/th&gt;
  &lt;tr&gt;
  &lt;td&gt;1&lt;/td&gt;
  
  &lt;td&gt;Lorem ipsum dolor sit amet consectetuer adipiscing elit Suspendisse eget est ac enim posuere adipiscing Nunc sollicitudin elit sed facilisis fringilla lectus mauris eleifend tortor eu auctor nulla odio in odio Cras sed orci Vestibulum ante ipsum primis in faucibus&lt;/td&gt;
  
  
  &lt;td&gt;John smith&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>In the above table the comments column will get expanded due its exeeded text. i want that to display only one line or two line</p>
  
  <p>How can i do it with css ?</p>