![]() Preserved Topic: Table (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: oslo, Norway |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() You should use PHP's wordwrap() function. I have explained how it works in this topic: http://www.ozoneasylum.com/Forum12/HTML/000311.html |