woobarb Posted April 28, 2008 Share Posted April 28, 2008 i've just been looking at the wordwrp function and thought i'd like to expand it to make it justified (like a newspaper does). Then I thought i'd better consider html entities, because they won't count, which now makes it a little more complex than first thought. Is there a function which already does all this? merci Link to comment https://forums.phpfreaks.com/topic/103270-wordwrap/ Share on other sites More sharing options...
dptr1988 Posted April 28, 2008 Share Posted April 28, 2008 If you are using HTML, you don't need to worry about newlines or wordwrap. The web browser will decide where to put the new lines when it displays the text. Link to comment https://forums.phpfreaks.com/topic/103270-wordwrap/#findComment-528935 Share on other sites More sharing options...
woobarb Posted April 28, 2008 Author Share Posted April 28, 2008 that won't justify it to both sides, and also I want to be exact to the character because of floating layer issues... Link to comment https://forums.phpfreaks.com/topic/103270-wordwrap/#findComment-528940 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.