How to wrap long text strings, as in a URL.
Posted: Mon Jan 16, 2006 3:42 am
Script URL: http://www.nineyearsunder.com/main.html
Version of script: Version: 1.34
Version of PHP: PHP Version 4.3.11
Hosting company: Unknown
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: text string, URL, wrap
Write your message below:
First, I used the main page in the URL above because it is a framed site and I have it scripted so that if someone accesses any of the pages without the frameset, it automatically redirects to the main.html file. So at this URL, just click the "Board" menu item.
The question is this - when a guest visits and enters their website URL, if it is a long URL, the string will not wrap to a new line which, in turn, blows the TD widths, causing the comments cell to be crammed and hard to read. I have tried specifying exact pixel values for the cells as well as a few PHP wrap functions I've found online. But since I'm very inexperienced with PHP (or any real programming syntax), I've not been able to figure out how to implement it.
Thank you in advance for your assistance and your fine library of scripts.
Steve
Version of script: Version: 1.34
Version of PHP: PHP Version 4.3.11
Hosting company: Unknown
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: text string, URL, wrap
Write your message below:
First, I used the main page in the URL above because it is a framed site and I have it scripted so that if someone accesses any of the pages without the frameset, it automatically redirects to the main.html file. So at this URL, just click the "Board" menu item.
The question is this - when a guest visits and enters their website URL, if it is a long URL, the string will not wrap to a new line which, in turn, blows the TD widths, causing the comments cell to be crammed and hard to read. I have tried specifying exact pixel values for the cells as well as a few PHP wrap functions I've found online. But since I'm very inexperienced with PHP (or any real programming syntax), I've not been able to figure out how to implement it.
Thank you in advance for your assistance and your fine library of scripts.
Steve