scroll bar color

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
 
M

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
 
K

Kathleen Anderson [MVP- FP]

If you are using a valid DOCTYPE in your HTML, you need to declare the style
for the html tag, not the body tag.
 
A

Andrew Murray

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top