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
How do I keep the table from stretching out?
Moderator: General Moderators
The tagboard is located at http://www.static2k.com/php/tagboard/index.php for anyone who needs to see what I am talking about.
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
- Sevengraff
- Forum Contributor
- Posts: 232
- Joined: Thu Apr 25, 2002 9:34 pm
- Location: California USA
- Contact: