Jump to content


Text Breaking


2 replies to this topic

#1 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 16 May 2007 - 10:17 AM

I am having this problem with displaying my text. When i enter it into a text area the way i want it and submit it, its displayed on my page with no breaks. It puts it all together into one line. Is there a way to fix this?

#2 hk_

    Young Padawan

  • Members
  • Pip
  • 52 posts
  • Gender:Male
  • Location:lost

Posted 16 May 2007 - 11:07 AM

if you are looking for word-breaks this could work
style="word-wrap: break-word; overflow: auto;"

eg:
<textarea cols="30" rows="4" style="word-wrap: break-word; overflow: auto;"></textarea>


#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 16 May 2007 - 01:04 PM

hk, you misread what he was saying. He is entering it into the form right, but he can't get it to display on the webpage after echoing it back out.

But, this is a frequently asked question, so please use the forum search.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users