How to force a longlong..long word to wrap in a table cell

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Wentu
Forum Newbie
Posts: 11
Joined: Sun Feb 02, 2003 1:09 pm

How to force a longlong..long word to wrap in a table cell

Post by Wentu »

Hi

i am looking for a way to put a long long word ( maybe a long URL that has of course no space in it ) in a narrow table cell and have it wrap in more than one line. What i get is always a larger cell and a larger table. I tried CSS left-right margin but with no effect. if the word is too long, it enlarges the cell.
Since i am using PHP i could use a string function that automatically adds a \n to the string (i know there is actually such a function) but i'd like to know if there is a pure html or CSS way to accomplish this

Thankx

Wentu
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Post Reply