Jump to content

Defining the Scrollbar in CSS


bbr

Recommended Posts

inserting this in the body of your CSS will cause them to turn a nice red. scrollbar-arrow-color: #000; scrollbar-face-color: #A00; scrollbar-3dlight-color: #F66; scrollbar-highlight-color: #000; scrollbar-shadow-color: #822; scrollbar-darkshadow-color: #000; scrollbar-track-color: #222;it however does not seem to conform with the CSS validator that is available on this site.i presume this is because the scrollbar coloring is an "IE" only attribute ?

Link to comment
Share on other sites

inserting this in the body of your CSS will cause them to turn a nice red. scrollbar-arrow-color:  #000; scrollbar-face-color:  #A00; scrollbar-3dlight-color: #F66; scrollbar-highlight-color: #000; scrollbar-shadow-color:  #822; scrollbar-darkshadow-color: #000; scrollbar-track-color:  #222;it however does not seem to conform with the CSS validator that is available on this site.i presume this is because the scrollbar coloring is an "IE" only attribute ?

You are right. Those attribute is IE only.In Firefox, Opera, NC...Their skin is included the scrollbar!So, even those attribute is valid. It is useless. :)
Link to comment
Share on other sites

That's odd. Why isn't this attribute mentioned in the tutorial? I think it should be, though it does only work in IE :) .

Link to comment
Share on other sites

That's odd. Why isn't this attribute mentioned in the tutorial? I think it should be, though it does only work in IE :) .

Because w3schools.com, as the name suggests, have the same ideals as w3.org about certain things, webstandards being one of them... :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...