...

View Full Version : Vertical Browser Scrollbar



Hydrogen
01-15-2003, 12:03 PM
I am creating a site for a company, but I want to change the colour of the default IE vertical scrollbar, like this site! their's, as you can see is green.

I did find some css code on the web to do it, but I am not familar with css and was unable to get it to work, I just tried to mix it in with HTML.

I wonder if anybody knows how to do it with HTML, or can tell me the css code, and how to impliment it. I would be greatful for you assistance.

murphyz
01-15-2003, 12:28 PM
For the scrollbar of a single page put the following into your head tags:

<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF;
scrollbar-arrow-color:#C0BCC0;
scrollbar-track-color:#FFFFFF;
}
-->
</STYLE>

and change the colours to what you need.

By reading a little on CSS from http://www.w3schools.com/css/default.asp you will be able to incorporate it into the whole site at once instead of putting it on each page.

I think I remember seeing someone else, perhaps several people, asking this very question so you may like to do a search of this site before asking further questions to see if it has been queried before. That way you will be able to get your answer a little quicker.

Hope this helps.

Mxx

meow
01-15-2003, 12:59 PM
And here's what we do about that! Lovely gray shade. :D

http://www.w3.org/Style/Examples/007/scrollbars.html

ronaldb66
01-15-2003, 03:01 PM
Muahahaha, that's a great trick! Grey scrollbars once more! And W3C sanctioned at that.

Hydrogen
01-15-2003, 03:20 PM
Many thanx, apologies for not searching the forums first, I was pressed for time as I had to go out, in future i'll check the forums first.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum