astralaaron Posted April 19, 2007 Share Posted April 19, 2007 Okay, on my forum I have put together I am having 1 problem.. that is if the person puts a message or replys to a topic with something like this: "asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf"My forum does not "wordwrap" it just keeps it 1 line and expands the message box as far as the message will take it.. where you have to scroll over to the right..if there is spaces then it "wordwrap's" but just as a security reason.. is there anyway to not allow that type of post? or make it so it wordwarps..??thanks Link to comment Share on other sites More sharing options...
Anders Moen Posted April 19, 2007 Share Posted April 19, 2007 This would be better in the (X)HTML or CSS forum, wouldn't it? This hasn't anythinmg with PHP to do really..But what forum is this? Can you use the wordwrap function? wordprap($string)Would this work? (CSS) #the_div { word-wrap: break-word; } I don't know if it's valid though. I just searched for "css wordwrap" at Google Link to comment Share on other sites More sharing options...
astralaaron Posted April 19, 2007 Author Share Posted April 19, 2007 PROBLEM SOLVED:<textfield wrap="hard"> Link to comment Share on other sites More sharing options...
Anders Moen Posted April 19, 2007 Share Posted April 19, 2007 Link to comment Share on other sites More sharing options...
astralaaron Posted April 19, 2007 Author Share Posted April 19, 2007 hey I did not know about the wordwrap() function that works too 8) Link to comment Share on other sites More sharing options...
Anders Moen Posted April 19, 2007 Share Posted April 19, 2007 Hehe, then you learned something new today Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now