Jump to content

Defining the Scrollbar in CSS


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 post
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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...