The text in <pre></pre>
steps beyond the boundary of its parental <div></div>
. How to solve this problem?
It is said that the line lengths in the preformatted text can be shortened, but how to do it?
I have seen
<%# DataBinder.Eval(Container.DataItem, "Comments")
.ToString().Replace("\n", "<br />") %>
Is it c#? I am a PHP programmer.