Hi,
well, what I have is a multline textbox that user enters a comment.
In a text box user have the ability to hit "enter" and go to the new line.
So... when I show the comment, later, on a separate page...
I need to show in the same format as the user entered.. with line breaks.
if not the output looks ugly (not what the writer intended).
That is why I was looking for a way to duplicate the texBox effect on the
label.
Nalaka
<ag******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
You can't think of pages having "line breaks", you rather you need to
think of the line in it's full context. Is it a statement of some
sort? Statements go into paragraphics... ergo...
<p><asp:Label id="lblMyStuff" runat="server="></asp:Label></p>
<br> is deprecated as is <font>, table hacks, frame hacks, iframe
hacks, the style attribute and many other things.