Page 1 of 1

Scroll bar colors

PostPosted: Mon May 31, 2004 1:33 am
by robert
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:

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

PostPosted: Mon May 31, 2004 9:09 am
by robert
Whoops.... couple of errors, should be:

HTML
{
scrollbar-base-color: #888F89;
scrollbar-3dlight-color: black;
scrollbar-highlight-color: transparent;
scrollbar-track-color: #B4BDB5;
scrollbar-arrow-color: black;
scrollbar-shadow-color: #9EA59F;
scrollbar-dark-shadow-color: black;
}


Anyway, color can be in one of three formats.

black or #000000 or RGB( 0, 0, 0)

Robert