Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I found some of properties in css like

BODY{
scrollbar-face-color:#8080FF;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#DDDDFF;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:'';
}

But they are not enough.I want to change direction of scroll to rtl.

Tanks for help
Mohsen porouhan
Posted

1 solution

First! These CSS properties are not standard and mostly supported only in IE!
To set the direction of an HTML element (and with that change scrolling direction too) you should use direction[^] attribute!
 
Share this answer
 
Comments
Member 10104625 22-Sep-14 3:10am    
Tank everyone for take a time for my question.I could solve it.I added dir attribute to ltr and added direction to rtl for maincontent.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900