Jump to content
LifeInBinary

'scrollbar' CSS won't validate

Recommended Posts

This chunk of CSS kicks back errors:

scrollbar-face-color:#000000;scrollbar-shadow-color:#000000;scrollbar-highlight-color:#000000;scrollbar-3dlight-color:#000000;scrollbar-darkshadow-color:#000000;scrollbar-track-color:#000000;scrollbar-arrow-color:#000000;scrollbar-base-color:#000000;

I would like to be able to tweak these properties, but this CSS has GOT to validate 100% - so what can I do? Is there something different that I could use - or even JavaScript if I absolutely must?Here are the errors, if it helps:

Sorry! We found the following errorsURI : file://localhost/TextArea6 html, body Property scrollbar-face-color doesn't exist : #000000 7 html, body Property scrollbar-shadow-color doesn't exist : #000000 8 html, body Property scrollbar-highlight-color doesn't exist : #000000 9 html, body Property scrollbar-3dlight-color doesn't exist : #000000 10 html, body Property scrollbar-darkshadow-color doesn't exist : #000000 11 html, body Property scrollbar-track-color doesn't exist : #000000 12 html, body Property scrollbar-arrow-color doesn't exist : #000000 13 html, body Property scrollbar-base-color doesn't exist : #000000

Share this post


Link to post
Share on other sites

those can't be w3c validated because it isn't in the Standards.Only IE will deal with them anyways, because they are proprietary to MSIE.Only way I know to do the Scrollbar thing is to find a js solution.

Share this post


Link to post
Share on other sites

Ah okay man, well ty much :) Answers my question at least ^^Btw, you joined 1 day before me lol - ironic :)

Share this post


Link to post
Share on other sites

Lol, nice :)Btw, do you have any idea of a JS script that would allow me to alter the colors of the scroll bar? Maybe I am not looking in the right places... :/Thanks,Life In Binary.

Share this post


Link to post
Share on other sites
Ty much man - while that is really cool, I am looking for something a little more subtle. I want the standard browser's scrollbar, just with different colors.Take a look at this website to see what I mean - that's the code I used (that won't validate as CSS) - I just need a way to do this that will validate :/http://www.iribbit.net/i/lifeisbinary/nexusdesigns/home.html

Share this post


Link to post
Share on other sites

The script rahXephon provided can be customised with whatever images you want - you can take screen dumps via PrtScn of the scrollbar in IE as you want it, slice it up, and use them as your images.

Share this post


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...