Reputation: 125526
i want that the vertical scroll bar that show in textarea in fire fox will show in the left side, i have site with 'rtl' direction, and in IE its o.k , in the left side - (oposide the text).
Upvotes: 2
Views: 4109
Reputation: 13908
Firefox considers it a usability feature that a scrollbar appears on the same side all the time for a given user no matter what direction the text in the page uses.
https://bugzilla.mozilla.org/show_bug.cgi?id=330863
So if your browser is using some RTL language such as Hebrew, then the scrollbars are always on the left, and if your browser is using English then it's always on the right. There is a preference you can set in about:config (layout.scrollbar.side) that overrides this but a web author has no control over it.
Upvotes: 4
Reputation: 4474
You could always do this with a custom scrollbar which is set to look like the standard one. But as others have said I wouldn't recommend. Changing the UI is this way is on the whole a bad idea.
http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
Upvotes: 3
Reputation: 12379
Agreeing with the other answers here, I would seriously consider if you'd want to do this (from a ease-of-use standpoint).
That said, even though you got it working in IE, I don't think your use of the RTL setting is correct. I'm not sure the effects it has but I think it's more for allowing users to write in a language that reads/writes right-to-left.
Upvotes: 0
Reputation: 20757
I wouldn't do it, because it breaks what users expect, but here you go:
Upvotes: 1