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)
{
@sn
@Html.DisplayFor(a => msg.content)
@Html.DisplayFor(a=>msg.date)
sn++;
}
{
sn++;
}

Shuvojit HalderRank #2,827 · 503 reputationPosted Aug 10, 2015, 2:52 AM EDT
Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 10, 2015, 4:57 AM EDT
style=")word-wrap:break-word;"}style="white-space: wrap;"})