PDA

View Full Version : HTML / CSS Changing the scrollbar



dboers
October 9th, 2004, 09:49 AM
Hi,

I know I can change the layout (Color) of the scrollbar with:
BODY {
scrollbar-face-color: #C0C0C0;
scrollbar-arrow-color: #000000;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #C0C0C0;
scrollbar-shadow-color: #CEE916;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #E0E0E0;
}

But on some sites the scrollbar appears like an image is used (grid or little stipes) for the track. Is there somebody who knows how that is done?

Thanks in advance

[m]
October 9th, 2004, 10:02 PM
Probably made with javascript. Don't know for sure without example.

dboers
October 10th, 2004, 11:31 AM
Here is a link to see what i mean:

http://www.autosport.com

[m]
October 10th, 2004, 06:27 PM
1) you can only style scrollbars in IE.

2)
scrollbar-3d-light-color : #FFFFFF;
scrollbar-arrow-color : #000000;
scrollbar-base-color : #000000;
scrollbar-dark-shadow-color : #000000;
scrollbar-face-color : #CC0000;
scrollbar-highlight-color : #FFFFFF;
scrollbar-shadow-color : #000000;
It's probably the scrollbar-3d-light-color.