Static scroll box

I want to display some data on a web page but the area I want to use is limited.  I would like to use a static box with a scroll bar.  I DO NOT want the box to scroll automatically.  I do want to be able to set the background color and use rich text  - possibly graphics.  Basically, the only thing I want to see is a scroll bar.  The rest of it will just blend into my page.   I know such a JAVA script exists out there.  Can anyone tell me how or point me to such a script?

Thanks!
tperegoyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James RodgersWeb Applications DeveloperCommented:
use css and a div

<div id="mydiv" style="width:50; height:50; overflow:auto">
stuff<br>morestuff<br>again<br>even more stuff<br> this is a really long line of text that should force a horizontal scroll<br>does this work for you?
</div>

use
overflow-x for a horizontal only scroll or
overflow-y for a vertical scroll
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tperegoyAuthor Commented:
Excellent.  Thanks for your prompt help.
0
James RodgersWeb Applications DeveloperCommented:
glad i could help

thanks for the points
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.