Preserved Topic: Table (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: oslo, Norway |
posted 09-11-2001 15:35
this is the problem, when i have a table with width set to 50% and message is longer then 50% with no space |
Paranoid (IV) Inmate From: Lebanon |
posted 09-11-2001 15:47
This won't work unless you put a space between your string or you put <br>....as long as it's one long string the browser can't break it into different lines. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-11-2001 23:29
Osaires, that's how web browsers work, they will treat that as one long word and therefore wont't break it (they will extend table width instead). |
Paranoid (IV) Inmate From: oslo, Norway |
posted 09-11-2001 23:36
Yes this is right max, it a server side script, how do you write this cind of function, i use PHP as server language |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-11-2001 23:41
You should use PHP's wordwrap() function. I have explained how it works in this topic: http://www.ozoneasylum.com/Forum12/HTML/000311.html |