Jump to content


Photo

horizontal scroll bar


  • Please log in to reply
6 replies to this topic

#1 Maverickb7

Maverickb7
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 05 April 2006 - 06:52 PM

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?

#2 TheUkSniper

TheUkSniper
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 05 April 2006 - 07:47 PM

i didnt no text boxes did scroll bars :S

if your refering to a txt area... try this

<textarea name="textfield" wrap="VIRTUAL">TEXT-HERE</textarea>


#3 Maverickb7

Maverickb7
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 05 April 2006 - 08:11 PM

Yeah sorry about that I meant textarea. I'll give that a try.

Does not work.

#4 earl_dc10

earl_dc10
  • Members
  • PipPipPip
  • Advanced Member
  • 71 posts

Posted 05 April 2006 - 08:18 PM

try specifiying the actual width you want:
<textarea name="textfield" rows="1" cols="20" wrap="virtual"></textarea>

got a problem? Google helps many of those in need

#5 TheUkSniper

TheUkSniper
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 05 April 2006 - 08:34 PM

have u got the url for the site because the wrapping should stop the scroll bars

#6 Maverickb7

Maverickb7
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 06 April 2006 - 02:09 AM

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.

#7 earl_dc10

earl_dc10
  • Members
  • PipPipPip
  • Advanced Member
  • 71 posts

Posted 06 April 2006 - 02:15 AM

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
got a problem? Google helps many of those in need




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users