Nizam Nizam

Nizam Nizam

  • NA
  • 11
  • 4.4k

mvc list view overflowing

Aug 10 2015 5:34 AM
mvc4 i have a  list like serial number column , content column and date column ,
 
while the content is more then 500 words it's overflowing the row ., i wanna show that first little words in a row don't wanna over flow how can i do it ???
 
@foreach (var msg in Model)
{
<tr>
<td>@sn</td>
<td>@Html.DisplayFor(a => msg.content)</td>
<td>@Html.DisplayFor(a=>msg.date)</td>
</tr>
sn++;

Answers (2)