Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Avatar for Username

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее
Архивировано

scrollbar css stylesheet does not apply

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

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

Все ответы (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?