Jump to content

Archived

This topic is now archived and is closed to further replies.

Maverickb7

horizontal scroll bar

Recommended Posts

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?

Share this post


Link to post
Share on other sites
i didnt no text boxes did scroll bars :S

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

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

Share this post


Link to post
Share on other sites
try specifiying the actual width you want:
[code]
<textarea name="textfield" rows="1" cols="20" wrap="virtual"></textarea>
[/code]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.