Click to See Complete Forum and Search --> : Scrolling Text box


Rahina
09-13-2006, 04:44 PM
Alright, here is my question. I have a site I have created completely in Photshop. It is just an image with rollovers and the like. However, the site will be updating content quite often, so instead of doing the main text in Photoshop, I simply want to handcode a text box into the page. I know how to get it where I want it, but! I want the text box to be a fixed size, so that if the content is longer than the image I have created, the content will simply scroll within the text box. The only thing I know of to use is a textarea box, but it won't work for this because I don't want anyone but me to be able to edit the content. This is not an input form. I know I have seen these text boxes on other sites, but I don't know how to create one. Any help would be greatly appreciated!!

Thanks again!

Jen

Rahina
09-13-2006, 05:10 PM
ok, I actually figured out a way to do it using this:

.scr
{
align:center;
max-height:320px;
height: 320px;
max-width:300px;
width:300px;
overflow: scroll;
scrollbar-base-color:#FFFFFF;
}

But here is another question. I only need a scrollbar on the side. Is there a way to remove the bottom scrollbar?

Rahina
09-13-2006, 05:24 PM
Nevermind! I just set the overflow to auto and the scrollbars only show up if needed! ;)