scroll bar color

  • Thread starter Thread starter Steve Easton
  • Start date Start date
S

Steve Easton

I'ts done with CSS.
Place this between the head tags
and modify the colors as desired.
Notice that not all of the elements
have colors assigned.

<style>
BODY{
scrollbar-3dlight-color:;
scrollbar-arrow-color:gold;
scrollbar-base-color:;
scrollbar-track-color:#F0F0E0;
scrollbar-darkshadow-color:;
scrollbar-face-color:teal;}
</style>

hth

--
95isalive
This site is best viewed..................
...............................with a computer

can anyone tell me how to change the color of the sroll
bar for the main pages. I can only change the color of the
scroll bars in text boxes, is this all you can do? I have
tried setting it up in the head defined and putting a
class for it in the body but this does not seem to work....
Thanks, Mike
 
can anyone tell me how to change the color of the sroll
bar for the main pages. I can only change the color of the
scroll bars in text boxes, is this all you can do? I have
tried setting it up in the head defined and putting a
class for it in the body but this does not seem to work....
Thanks, Mike
 
If you are using a valid DOCTYPE in your HTML, you need to declare the style
for the html tag, not the body tag.
 
mike said:
can anyone tell me how to change the color of the sroll
bar for the main pages. I can only change the color of the
scroll bars in text boxes, is this all you can do? I have
tried setting it up in the head defined and putting a
class for it in the body but this does not seem to work....
Thanks, Mike

Good old sstyle sheets! (CSS)

take a look at this site - has a basic tutorial on CSS tricks (not just changing
scroll bar colours).

http://www.draac.com/css/csstricks.html
 
Back
Top