G
Guest
I'm using an asp:label to display source code on my web page. The source code
is formatted with carriage returns, tabs and spaces. In the past, all I had
to do was wrap the label in a <pre> element and it was fine. But this time,
when I wrap my asp:label inside a <pre> element, it's only recognizing the
carriage returns but not the tabs or spaces.
When I view the source code in NotePad, everything is properly formatted. So
how do I display it in an asp:label?
Is there something I'm not doing?
Ray
is formatted with carriage returns, tabs and spaces. In the past, all I had
to do was wrap the label in a <pre> element and it was fine. But this time,
when I wrap my asp:label inside a <pre> element, it's only recognizing the
carriage returns but not the tabs or spaces.
When I view the source code in NotePad, everything is properly formatted. So
how do I display it in an asp:label?
Is there something I'm not doing?
Ray