Link to home
Start Free TrialLog in
Avatar of mgmhicks
mgmhicks

asked on

Formatting text in a text box control

I have about 3 paragraphs of text (its a disclaimer) to show, but I want to show maybe 3 lines and let them scroll through the rest.  The problem is when I put everything in a text box the formatting is messed up, mostly spacing and new lines where there is still room on the previous line.  What is the best way to handle this.  Is the textbox control the correct control.  This is a web page (aspx) we are talking about

thanks
Avatar of abel
abel
Flag of Netherlands image

It sounds to me that the lines you want to show are already broken up with newlines in-between. Remove those newlines, except for the double newlines that separate the paragraphs. This will make the textbox do normal breaking of the lines.

Yes, it is common practice to use a multiline textbox for this on a web page.

If I misunderstood your question, can you please show two screenshots: one of what you have now and one of what you want it to look like (use Word or something like that).
Avatar of mgmhicks
mgmhicks

ASKER

Here is the screen shot.  This text is in a note pad.  Looks good in there.  I copy and paste to textbox and you see what the textbox is beginning to look like.  I would just like about a 4 line textbox that scrolls with this verbage justified.
screenshot.jpg
ASKER CERTIFIED SOLUTION
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you
you're welcome :)