Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I have a VERY long string with no spaces or line breaks of any kind and I want to display this on a webpage, however I don't want it to scroll across the screen and make the user scroll sideways to see it. I want to force it to wrap onto the next line when it gets to the edge of the page, even though there are no possible line breaks. How can I do this?
String looks a bit like this
sdfsdfasdfaskjhasdkhdglkjhsdgkljhdgfkjhdasfjhkljsdahgklsjgkajshgfkaljdghdalkhj etc
Thanks
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Forcing a string with no spaces to wrap to fit on the screen
by pbeckingham (Parson) on Jun 09, 2004 at 15:59 UTC | |
|
Re: Forcing a string with no spaces to wrap to fit on the screen
by ChrisS (Monk) on Jun 09, 2004 at 16:12 UTC | |
|
•Re: Forcing a string with no spaces to wrap to fit on the screen
by merlyn (Sage) on Jun 09, 2004 at 16:09 UTC | |
by Anonymous Monk on Jun 09, 2004 at 16:49 UTC | |
by andyf (Pilgrim) on Jun 09, 2004 at 21:26 UTC | |
|
Re: Forcing a string with no spaces to wrap to fit on the screen
by iburrell (Chaplain) on Jun 09, 2004 at 16:08 UTC | |
|
Re: Forcing a string with no spaces to wrap to fit on the screen
by Zaxo (Archbishop) on Jun 10, 2004 at 03:49 UTC | |
|
Re: Forcing a string with no spaces to wrap to fit on the screen
by Anonymous Monk on Jun 10, 2004 at 09:02 UTC |