twilightnights Posted February 4, 2007 Share Posted February 4, 2007 Anyone know a good way to do this? Here is an example on my site.. I copied a joke for testing.. here is version with pre tags and set the font to sans serif via CSS http://www.omgjokes.com/random.php?i=98 without pre http://www.omgjokes.com/random.php?i=97 But the pre has a problem.. it scrolls way off the page. Is there a way to limit how much text is on one line with pre and make it wrap? Quote Link to comment https://forums.phpfreaks.com/topic/36968-best-way-to-format-user-input-from-forms/ Share on other sites More sharing options...
fenway Posted February 5, 2007 Share Posted February 5, 2007 If you place it inside a DIV with fixed dimensions, then you can use css overflow to handle this. Quote Link to comment https://forums.phpfreaks.com/topic/36968-best-way-to-format-user-input-from-forms/#findComment-177194 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.