volatileboy Posted May 20, 2008 Share Posted May 20, 2008 Hey there, I am stumped trying to get wordwrap to ignore html. However it is splitting the html is well, anyone got any ideas on how I can get around that? Thanks Link to comment https://forums.phpfreaks.com/topic/106388-wordwrap-html/ Share on other sites More sharing options...
volatileboy Posted May 20, 2008 Author Share Posted May 20, 2008 I just realised the lack of info, I am trying to wordwrap a messageboard post, is there anyway of splitting only words and leaving the html alone? Link to comment https://forums.phpfreaks.com/topic/106388-wordwrap-html/#findComment-545336 Share on other sites More sharing options...
947740 Posted May 20, 2008 Share Posted May 20, 2008 If you use <div> tags or something like that, you can force a width upon the text, and it should automatically wrap for you... Link to comment https://forums.phpfreaks.com/topic/106388-wordwrap-html/#findComment-545373 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.