EchoFool Posted November 11, 2009 Share Posted November 11, 2009 Hey, Quick question, if i echo a stirng (Which his really long with no spaces) Example: @@@@@@@@@@@@@@@ x 1000 Then what occurs on my script is the div gets pushed off the page, instead of cutting the word up and splitting it to a new line. What can i do to prevent it exceeding my TD width of "75%" ? Link to comment https://forums.phpfreaks.com/topic/181073-wrapping-in/ Share on other sites More sharing options...
haku Posted November 11, 2009 Share Posted November 11, 2009 As far as I know, there are no 1000 letter long words... Link to comment https://forums.phpfreaks.com/topic/181073-wrapping-in/#findComment-955426 Share on other sites More sharing options...
EchoFool Posted November 12, 2009 Author Share Posted November 12, 2009 Lol that was just an example, but im thinking in relation to spam....lets change the example... Say the output div was only 100 px wide, a setence may just push the div a bit...what i want it to do is : Text text text text te- xt text text text text Notice one word is te-xt (divided) so it wraps once it reachs end of the div instead of the div strecthing..i also notice it causes other <TD>'s to go smaller if another goes bigger due to its content, why cant they just stay fixed Link to comment https://forums.phpfreaks.com/topic/181073-wrapping-in/#findComment-956383 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.