We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

scrollbar css stylesheet does not apply

  • 3 பதிலளிப்புகள்
  • 92 இந்த பிரச்னைகள் உள்ளது
  • 11 views
  • Last reply by cor-el

Hello,

this css style, which works fine with IE, does not display a colored scrollbar in Firefox:

BODY {

  scrollbar-base-color:#F06F6F;
  scrollbar-track-color:#D04F4F;
  scrollbar-face-color:#C03F3F;
  scrollbar-highlight-color:#C03F3F;
  scrollbar-3d-light-color:#C03F3F;
  scrollbar-dark-shadow-color:#C03F3F;
  scrollbar-shadow-color:#C03F3F;
  scrollbar-arrow-color:#E06F6F;

}

Are colored scrollbars not supported with Firefox, or do I have to change something within the code (it should also work with IE afterwards).

Thank you, newnexo

Hello, this css style, which works fine with IE, does not display a colored scrollbar in Firefox: BODY { scrollbar-base-color:#F06F6F; scrollbar-track-color:#D04F4F; scrollbar-face-color:#C03F3F; scrollbar-highlight-color:#C03F3F; scrollbar-3d-light-color:#C03F3F; scrollbar-dark-shadow-color:#C03F3F; scrollbar-shadow-color:#C03F3F; scrollbar-arrow-color:#E06F6F; } Are colored scrollbars not supported with Firefox, or do I have to change something within the code (it should also work with IE afterwards). Thank you, newnexo

newnexo மூலமாக திருத்தப்பட்டது

All Replies (3)

Changing scrollbar colors using css is not a standard css code and is not supported in Firefox.

This link may help - http://www.dreamincode.net/forums/topic/15885-change-scroll-bar-color-in-firefox-and-opera/

Do you have CSS about custom scrollbar?