Maverickb7 Posted April 5, 2006 Share Posted April 5, 2006 does anyone know how I could make the words wrap when inputted within a textfield. Sometimes I have a long url and it makes a horizontal scrollbar appear making it look somewhat ugly. Does anyone know how I can avoid this? Quote Link to comment Share on other sites More sharing options...
TheUkSniper Posted April 5, 2006 Share Posted April 5, 2006 i didnt no text boxes did scroll bars :Sif your refering to a txt area... try this[code]<textarea name="textfield" wrap="VIRTUAL">TEXT-HERE</textarea>[/code] Quote Link to comment Share on other sites More sharing options...
Maverickb7 Posted April 5, 2006 Author Share Posted April 5, 2006 Yeah sorry about that I meant textarea. I'll give that a try.Does not work. Quote Link to comment Share on other sites More sharing options...
earl_dc10 Posted April 5, 2006 Share Posted April 5, 2006 try specifiying the actual width you want:[code]<textarea name="textfield" rows="1" cols="20" wrap="virtual"></textarea>[/code] Quote Link to comment Share on other sites More sharing options...
TheUkSniper Posted April 5, 2006 Share Posted April 5, 2006 have u got the url for the site because the wrapping should stop the scroll bars Quote Link to comment Share on other sites More sharing options...
Maverickb7 Posted April 6, 2006 Author Share Posted April 6, 2006 Actually the url is behind a password protected area. Just try copying a large url into a textarea and you'll see what I'm talking about. Quote Link to comment Share on other sites More sharing options...
earl_dc10 Posted April 6, 2006 Share Posted April 6, 2006 wordwrap only works if there is breaks in the text ie, "how are you doing...." won't wrap "aaaaaaaaaaaaaaaaaaaaaaa....." maybe some CSS could remedy that Quote Link to comment 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.