PDA

View Full Version : div scrollbars in window


niltiac
04-11-2006, 04:05 AM
I have a page, and only one of my div's will use a scrollbar. The problem is that I can't have the scrollbar on the right side, for layout purposes. I searched online for a while for a way do this, and couldn't really find anything. I tried changed the direction from right to left, which put the scroll bar on the left side of the div, but also aligned my text to the right (and put the punctuation marks on the left side of everything.)

Anyway. So is there a way to control a div with a hidden scrollbar with the main window's scroll bar?

_Aerospace_Eng_
04-11-2006, 05:02 AM
Why does it have to be on the left? Leave the users browser alone. Unless you intend on using a language that is read right to left then don't change the direction.

niltiac
04-11-2006, 04:20 PM
I'd rather not have it on the left.

The text area is not the main window, it's simply a text area in the webpage. Putting the scrollbar is the only way I can fix the situation right now, so I can scroll the text area. I would like for the user to be able to scroll through the text area with the regular scroll bar on the right side of the window...

_Aerospace_Eng_
04-11-2006, 04:25 PM
Then allow them to do so. A scrollbar should be created if the text exceeds the number of rows set in the textarea.