I have a Description field that brings back a large amount of text. When it writes to the page it comes out as one big line. I have tried wrapping it in the below two divs
<td>
<div style="word-wrap:break-word;">
@Html.DisplayFor(modelItem => item.Description)
</div>
</td>
and
<td>
<div style="overflow:auto;">
@Html.DisplayFor(modelItem => item.Description)
</div>
</td>
The strange thing is they both seem to work for a second when the screen first loads and then it goes back to one line.
I have looked online and ever answer I find says the above should work.
Is anyone aware of something I am missing?
Any help would be greatly appreciated.