Elemental Posted February 1, 2008 Share Posted February 1, 2008 Hey Folks, I recently tried the following example on a page, I'm teaching myself css, but it did not produce the desired effect. <STYLE TYPE="text/css"> BODY { scrollbar-base-color: orange; scrollbar-arrow-color: green;scrollbar-DarkShadow-Color: blue; }</STYLE> The above example is from Joe Burns' article "SCROLL BAR COLORS", see example here.When I went to the link/site my scrollbar changed to the colors but it didn't work when I used it; all I did was copy and paste the code above between the head tags.Is it possible, due to my limited knowledge of CSS, that there is something missing from the code above that prevents it from working for me?Thanks for any helpPeace,Elemental Link to comment Share on other sites More sharing options...
S@m Posted February 1, 2008 Share Posted February 1, 2008 coloring the scrollbars only works with IE. Link to comment Share on other sites More sharing options...
Elemental Posted February 1, 2008 Author Share Posted February 1, 2008 coloring the scrollbars only works with IE. S@m,Thank you, didn't know that, but I was using IE; IE7Peace,Elemental Link to comment Share on other sites More sharing options...
Synook Posted February 2, 2008 Share Posted February 2, 2008 But the point is, not all of the viewers of your website will be using IE, and for them the scrollbars will not look different. Better not to use them at all (also, your CSS won't be valid if you do use the properties).However, if you do want to go ahead, the code looks fine, you may have pasted the code wrongly. Can we see the rest of the code? Link to comment Share on other sites More sharing options...
Elemental Posted February 9, 2008 Author Share Posted February 9, 2008 But the point is, not all of the viewers of your website will be using IE, and for them the scrollbars will not look different. Better not to use them at all (also, your CSS won't be valid if you do use the properties).However, if you do want to go ahead, the code looks fine, you may have pasted the code wrongly. Can we see the rest of the code? Here's where I saw the scriptI just copied and pasted the example, and it worked fine this time.Peace,Elemental Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted February 9, 2008 Share Posted February 9, 2008 The coloured scrollbars also work for me in Opera 9.25. Link to comment Share on other sites More sharing options...
Synook Posted February 10, 2008 Share Posted February 10, 2008 that is interesting... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.