Webmaster/SEO News


Users Viewing This Thread
 1 Guest(s)
amatorbalikci.net

Post Reply  Post Thread 
Scrolling text area
Author Message
smacker
Member
***


Posts: 234
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #1
Scrolling text area

Hi there Smile I'm new on this 4um. I need a text area which won't change its size. I mean with scrollbar added to it. Untill this time thing is very simple, just create a

with the CSS definition "overflow: auto;". I need to define GREEN COLOR of scrollbar, it MUST be done. I made it, BUT It works in IE only Sad Have you got any ideas for scrolling, NOT FLASH, text area with color defined scrollbar, that works in every browser? Other CSS function, javascript?

I need it for the http://www.chillprod.com/ site. I don't want to resize its height. Just want to scroll the content.

Please help me, I looked for it in hotscripts.com anf googling and there is nothing ... =/

09-14-2007 07:49 AM
Find all posts by this user Quote this message in a reply
tina1
Member
***


Posts: 120
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #2
RE: Scrolling text area

Everything you want to do can be done in your css file. Just use height and width and if the user puts in more text than will fit, it should automatically add the scroll bar. And your text color can be done just as easily. To make cross browser compatibility, you will probably need a style sheet for each browser.

Code:

/*generic css file*/

#txtbx {

color: green;

height: 150px;

width: 200px;

}

Code:

<!--inside the form in the html file-->

<!--be sure to link the css to this html-->

09-14-2007 08:22 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: