Topic: scrolling text? how?

i need to put a box in my page... wich i want in absolute size!! and will contain text....

but because i have to much text i want it to be scrolled...


how can i do it?

and if its possible to use a "div"?

Vote up Vote down

Re: scrolling text? how?

yep. You can do it with a div. Just use CSS to set the height and the overflow property:

div {
    height:200px;
    overflow: scroll;
}

Benjamin Falk | Falken Creative : Twitter
Skills: Photoshop, Illustrator, HTML, CSS, jQuery, PHP and CodeIgniter

Vote up Vote down

Re: scrolling text? how?

ok thanks.... its exactly what i needed..

thank u...



1 little thing.. i wantthe scroll bar to be in the right side.. not the left..

possible?

Vote up Vote down

Re: scrolling text? how?

I assume that the scrollbar positions for browsers in the Middle East is default to the left side.  If this is the case, you can use this css:

direction:ltr; 

rtl = right to left
ltr = left to right

CSS Direction

Imagine Building and Managing an Online Business
The Kasper Group

Vote up Vote down