Scroll bar colors
Posted: Mon May 31, 2004 1:33 am
Very few customized CSS have employed new matching colors in the scroll bar. Almost all customized CSS default to the same light blue color set.
Here is code for changing the default settings:
The code is not implemented in the pbase sample CSS. The colors above are used in my galleries pages. You can change them to complement your CSS colors.
You cannot insert this code at the end of the CSS (after the EXIF code)... it will not work. It needs to appear earlier in the CSS.
Note: I have not checked it on other browsers. Only IE6.
Robert
Here is code for changing the default settings:
HTML
{
scrollbar-base-color: #888F89;
scrollbar-3dlight-color: black;
scrollbar-highlight-color: none;
scrollbar-track-color: #B4BDB5;
scrollbar-arrow-color:black;
scrollbar-shadow-color: #9EA59F;
scrollbar-dark-shadow-color: #black;
}
The code is not implemented in the pbase sample CSS. The colors above are used in my galleries pages. You can change them to complement your CSS colors.
You cannot insert this code at the end of the CSS (after the EXIF code)... it will not work. It needs to appear earlier in the CSS.
Note: I have not checked it on other browsers. Only IE6.
Robert