Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 5 odpovedí
  • 114 má tento problém
  • 155 zobrazení
  • Posledná odpoveď od 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>

Všetky odpovede (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