Page 1 of 1

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

Posted: Sat Jul 05, 2003 4:17 am
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

Posted: Sat Jul 05, 2003 12:14 pm
by phice