How To Create Scrolling Text Boxes

Posted by Lasantha Bandara on March 29th, 2009 File Under : text boxes1 Comment

You may want to create a text box with content for your viewers to copy. There is an easy way to do that. Copy the code below into the Edit HTML part of your Post Editor:

<textarea style="width:332px;height:70px;" onfocus="this.select();">PUT CONTENT HERE</textarea>

This will look like the following :

If you want set background :

<textarea style="width:332px;height:70px;background:#6699ff;" onfocus="this.select();">PUT CONTENT HERE</textarea>

This will look like the following :

File Under : text boxes

One Response to “How To Create Scrolling Text Boxes”

  1. yhan02ph says:

    thanks for this info..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.