Jump to content

How to wrap text in a textarea


bedomon

Recommended Posts

HI allI want to wrap the text in a textarea, but it don't work and when the text arrive on the right a scrollbarin internet explorer it work fine but with firefox it don't work :)

<label for="txtQuestion" class="formlabel">Que voulez-vous savoir ? :</label>  <textarea name="textarea" cols="25" rows="3" id="txtQuestion" wrapping="virtual"> </textarea>

someone can help methanks...

Link to comment
Share on other sites

it is just the behavior of FF. You will find that if you enter strings that contain spaces it will break to the next line at the spaces. Meaning entering a long string with no spaces like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawill just scroll horizontal....break it up like this aaaaaaa aaaaaaaa aaaaaaaa aaaaaa aaaaa aaaaaaaaaaaa aaaaaaaaaaa aaaaaaaaaa aaaaaaaaaand it will wrap correctly. I guess they figured that no one would evr need a long spaceless string!?!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...