Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Trying to change how the scrollbar appears on my website for firefox

  • 5 replies
  • 114 have this problem
  • 40 views
  • Last reply by cor-el

more options

Hi so im trying to change my websites scrollbar for firefox browsers. Ive already done it for IE and chrome with this code: /*Custom scrollbar for IE <style>

body, html{scrollbar-arrow-color: #001eff;

scrollbar-track-color: #00e9ff; scrollbar-face-color: #0040ff; scrollbar-highlight-color: #517cff; scrollbar-3dlight-color: #00fff4; scrollbar-shadow-color: #214cc; scrollbar-darkshadow-color: #001f7; } </style> /*Custom Scrollbar for Chrome <style>

-webkit-scrollbar { width: 4px; height: 4px;}
-webkit-scrollbar-button { background-color: #00e9ff; }
-webkit-scrollbar-track { background-color: #999;}
-webkit-scrollbar-track-piece { background-color: #00e9ff;}
-webkit-scrollbar-thumb { height: 50px; background-color: #0040ff; border-radius: 50px;}
-webkit-scrollbar-corner { background-color: #999;}}
-webkit-resizer { background-color: #FFFFFF;}

</style>

Hi so im trying to change my websites scrollbar for firefox browsers. Ive already done it for IE and chrome with this code: /*Custom scrollbar for IE <style> body, html{scrollbar-arrow-color: #001eff; scrollbar-track-color: #00e9ff; scrollbar-face-color: #0040ff; scrollbar-highlight-color: #517cff; scrollbar-3dlight-color: #00fff4; scrollbar-shadow-color: #214cc; scrollbar-darkshadow-color: #001f7; } </style> /*Custom Scrollbar for Chrome <style> ::-webkit-scrollbar { width: 4px; height: 4px;} ::-webkit-scrollbar-button { background-color: #00e9ff; } ::-webkit-scrollbar-track { background-color: #999;} ::-webkit-scrollbar-track-piece { background-color: #00e9ff;} ::-webkit-scrollbar-thumb { height: 50px; background-color: #0040ff; border-radius: 50px;} ::-webkit-scrollbar-corner { background-color: #999;}} ::-webkit-resizer { background-color: #FFFFFF;} </style>

All Replies (5)

more options

For Firefox try using the -moz prefix instead of -webkit. For example:

-moz-scrollbar { width: 4px; height: 4px;}

more options

i think for the most part this won't be possible in firefox - see bug #77790, filed over a decade ago (please don't comment in bug reports).

more options

Didn't work :(

more options

this site said you can, but I think you mab be right about it not being supported http://codemug.com/html/custom-scrollbars-using-css/

more options