malikah Posted May 17, 2008 Share Posted May 17, 2008 I'm wondering how I would go about breaking apart a long line of user-input-text. Eg: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, needs to have line breaks every so often or it will run off the screen. I'm also using css. Cheers. Link to comment https://forums.phpfreaks.com/topic/106023-solved-unbrokenlinesoftext/ Share on other sites More sharing options...
cooldude832 Posted May 17, 2008 Share Posted May 17, 2008 look at wordwrap Link to comment https://forums.phpfreaks.com/topic/106023-solved-unbrokenlinesoftext/#findComment-543381 Share on other sites More sharing options...
malikah Posted May 17, 2008 Author Share Posted May 17, 2008 I ended up using {word-wrap: break-word;} in my css file. Worked. Link to comment https://forums.phpfreaks.com/topic/106023-solved-unbrokenlinesoftext/#findComment-543385 Share on other sites More sharing options...
cooldude832 Posted May 17, 2008 Share Posted May 17, 2008 i intended the php function word warp but what ever works Link to comment https://forums.phpfreaks.com/topic/106023-solved-unbrokenlinesoftext/#findComment-543386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.