How do I keep the table from stretching out?
Posted: Fri Dec 05, 2003 6:08 pm
I wrote a PHP/MySQL script for a tagboard on my website, nothing wrong with it, but when someone types in a long word like "oooooohhhhhhhhhhhhhhh" or a link, it will stretch the table out.
I have thought of a few solutions - in the php code, check to see if they have entered a word longer then x amount of letters, and return an error. Only problem is that wouldn't work for links.
I could put it all in a <textarea> box, but I have it set up so they can change colors and make the text bold and stuff. That wouldn't work in a textarea box.
If there is some kind of wrap for a table that I could use... that would work the best. I tried wrap="physical" but that had no effect on it, didn't think it would.
Right now I can't think of any way to get around this, does anyone here have any ideas?
Thanks
I have thought of a few solutions - in the php code, check to see if they have entered a word longer then x amount of letters, and return an error. Only problem is that wouldn't work for links.
I could put it all in a <textarea> box, but I have it set up so they can change colors and make the text bold and stuff. That wouldn't work in a textarea box.
If there is some kind of wrap for a table that I could use... that would work the best. I tried wrap="physical" but that had no effect on it, didn't think it would.
Right now I can't think of any way to get around this, does anyone here have any ideas?
Thanks