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? Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/ 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] Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24263 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. Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24271 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] Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24273 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 Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24277 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. Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24345 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 Link to comment https://forums.phpfreaks.com/topic/6673-horizontal-scroll-bar/#findComment-24347 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.