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%" ? Quote Link to comment 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... Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.