5
I have an ASP.NET MVC application where I display in a text area content that is in the database.
@Html.TextArea("Avisos", Model.Avisos, new { @class = "form-control", rows = 50, style = "max-width:none", @readonly = "" })
The display is misaligned like this:
But if I copy the content of the text area, and paste it into the notepad, it’s ok, as expected:
I have no idea why the difference and how to fix it.
It worked out thanks! I have this same problem in a Silverlight application. I will try to solve there by changing the source as well.
– user26552